diff options
author | Juan Linietsky <reduzio@gmail.com> | 2016-09-07 19:39:02 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2016-09-07 19:39:57 -0300 |
commit | 828e1c092fa706d4392363435950960261765ba4 (patch) | |
tree | 12fd9dc722ee3c7cb604e44264550de9fd72868b /modules/gdscript/gd_function.cpp | |
parent | 19bd661a8fdc381bb68018028bf76997cf74b65a (diff) | |
download | redot-engine-828e1c092fa706d4392363435950960261765ba4.tar.gz |
Renamed the bind_native functions to bind_vararg, should make it show the documentation more clearly and also make it easier to bind to C#
Diffstat (limited to 'modules/gdscript/gd_function.cpp')
-rw-r--r-- | modules/gdscript/gd_function.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gd_function.cpp b/modules/gdscript/gd_function.cpp index b2cc6341c1..094e21bb4f 100644 --- a/modules/gdscript/gd_function.cpp +++ b/modules/gdscript/gd_function.cpp @@ -1437,7 +1437,7 @@ void GDFunctionState::_bind_methods() { ObjectTypeDB::bind_method(_MD("resume:Variant","arg"),&GDFunctionState::resume,DEFVAL(Variant())); ObjectTypeDB::bind_method(_MD("is_valid"),&GDFunctionState::is_valid); - ObjectTypeDB::bind_native_method(METHOD_FLAGS_DEFAULT,"_signal_callback",&GDFunctionState::_signal_callback,MethodInfo("_signal_callback")); + ObjectTypeDB::bind_vararg_method(METHOD_FLAGS_DEFAULT,"_signal_callback",&GDFunctionState::_signal_callback,MethodInfo("_signal_callback")); } |