Browse Source

Removed ParamDef and ParamHint structs

Wilson E. Alvarez 8 years ago
parent
commit
b9d0579be9
2 changed files with 0 additions and 28 deletions
  1. 0 5
      core/class_db.cpp
  2. 0 23
      core/class_db.h

+ 0 - 5
core/class_db.cpp

@@ -46,11 +46,6 @@
 
 
 #ifdef DEBUG_METHODS_ENABLED
 #ifdef DEBUG_METHODS_ENABLED
 
 
-ParamDef::ParamDef(const Variant &p_variant)
-	: used(true),
-	  val(p_variant) {
-}
-
 MethodDefinition D_METHOD(const char *p_name) {
 MethodDefinition D_METHOD(const char *p_name) {
 
 
 	MethodDefinition md;
 	MethodDefinition md;

+ 0 - 23
core/class_db.h

@@ -38,29 +38,6 @@
 	@author Juan Linietsky <[email protected]>
 	@author Juan Linietsky <[email protected]>
 */
 */
 
 
-struct ParamHint {
-
-	String name;
-	PropertyHint hint;
-	String hint_text;
-	Variant default_val;
-
-	ParamHint(const String &p_name = "", PropertyHint p_hint = PROPERTY_HINT_NONE, const String &p_hint_text = "", const Variant &p_default_val = Variant())
-		: name(p_name),
-		  hint(p_hint),
-		  hint_text(p_hint_text),
-		  default_val(p_default_val) {
-	}
-};
-
-struct ParamDef {
-	bool used;
-	Variant val;
-	_FORCE_INLINE_ ParamDef() { used = false; }
-	ParamDef(const Variant &p_variant);
-};
-
-//#define DEFVAL( m_defval ) ParamDef(m_defval)
 #define DEFVAL(m_defval) (m_defval)
 #define DEFVAL(m_defval) (m_defval)
 
 
 //#define SIMPLE_METHODDEF
 //#define SIMPLE_METHODDEF