-Made sure that "free" function appears in documentation and code completion, fixes #1664

This commit is contained in:
Juan Linietsky
2015-04-12 22:22:44 -03:00
parent ed5b939077
commit 8fa4f1cf82
3 changed files with 6 additions and 3 deletions

View File

@ -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")) );