summaryrefslogtreecommitdiff
path: root/core/make_binders.py
diff options
context:
space:
mode:
Diffstat (limited to 'core/make_binders.py')
-rw-r--r--core/make_binders.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/make_binders.py b/core/make_binders.py
index ef71c4264b..74b5e9fda3 100644
--- a/core/make_binders.py
+++ b/core/make_binders.py
@@ -17,8 +17,8 @@ public:
return Variant::NIL;
}
#endif
- virtual String get_instance_type() const {
- return T::get_type_static();
+ virtual String get_instance_class() const {
+ return T::get_class_static();
}
virtual Variant call(Object* p_object,const Variant** p_args,int p_arg_count, Variant::CallError& r_error) {
@@ -97,7 +97,7 @@ public:
return Variant::NIL;
}
#endif
- virtual String get_instance_type() const {
+ virtual String get_instance_class() const {
return type_name;
}
@@ -159,7 +159,7 @@ MethodBind* create_method_bind($ifret R$ $ifnoret void$ (T::*p_method)($arg, P@$
} u;
u.sm=p_method;
a->method=u.dm;
- a->type_name=T::get_type_static();
+ a->type_name=T::get_class_static();
return a;
}
#endif