summaryrefslogtreecommitdiffstats
path: root/core/object.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-04-12 22:22:44 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-04-12 22:22:44 -0300
commit8fa4f1cf8288c62b52d84d094ec88b0e8f3791b1 (patch)
treec0424362352e98dc4b44a1f4fe532500bc4ad79a /core/object.cpp
parented5b93907720375e854ee67ae741145ab77e4d71 (diff)
downloadredot-engine-8fa4f1cf8288c62b52d84d094ec88b0e8f3791b1.tar.gz
-Made sure that "free" function appears in documentation and code completion, fixes #1664
Diffstat (limited to 'core/object.cpp')
-rw-r--r--core/object.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/object.cpp b/core/object.cpp
index f71521a0ff..46f536520d 100644
--- a/core/object.cpp
+++ b/core/object.cpp
@@ -1505,6 +1505,8 @@ void Object::_bind_methods() {
ObjectTypeDB::bind_method(_MD("is_queued_for_deletion"),&Object::is_queued_for_deletion);
+ ObjectTypeDB::add_virtual_method("Object",MethodInfo("free"),false);
+
ADD_SIGNAL( MethodInfo("script_changed"));
BIND_VMETHOD( MethodInfo("_notification",PropertyInfo(Variant::INT,"what")) );