diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2019-08-28 09:15:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-28 09:15:40 +0200 |
commit | 185072015f0fa38bbb2b48f5bd3b39cc6e07c487 (patch) | |
tree | b527e47882a292fe377dc6325306a250f6ecc6bb /modules/gdnative/pluginscript | |
parent | 2dbc7d312ffdcbd9745e8ef70d81c7b7a61ef0ec (diff) | |
parent | a919f5e614d0a2212e50c648aa0fb3e31c61e9e0 (diff) | |
download | redot-engine-185072015f0fa38bbb2b48f5bd3b39cc6e07c487.tar.gz |
Merge pull request #31606 from toasteater/fix/nativescript-new-json-return-type
Fix the return type of NativeScript::new in API json
Diffstat (limited to 'modules/gdnative/pluginscript')
-rw-r--r-- | modules/gdnative/pluginscript/pluginscript_script.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdnative/pluginscript/pluginscript_script.cpp b/modules/gdnative/pluginscript/pluginscript_script.cpp index b82823ab64..94d38e1be1 100644 --- a/modules/gdnative/pluginscript/pluginscript_script.cpp +++ b/modules/gdnative/pluginscript/pluginscript_script.cpp @@ -50,7 +50,7 @@ #endif void PluginScript::_bind_methods() { - ClassDB::bind_vararg_method(METHOD_FLAGS_DEFAULT, "new", &PluginScript::_new, MethodInfo(Variant::OBJECT, "new")); + ClassDB::bind_vararg_method(METHOD_FLAGS_DEFAULT, "new", &PluginScript::_new, MethodInfo("new")); } PluginScriptInstance *PluginScript::_create_instance(const Variant **p_args, int p_argcount, Object *p_owner, Variant::CallError &r_error) { |