diff options
author | Thomas Herzog <thomas.herzog@mail.com> | 2018-04-07 00:59:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-07 00:59:17 +0200 |
commit | 3ad9e4740c35ec20fdd6942f13047ebd53ea203e (patch) | |
tree | 24bfa76059d541eabd76e3b677f9caa7519f11b0 /modules | |
parent | e6e911eb2bc5bcf5ee36063e59fde00fcd96bd97 (diff) | |
parent | adecd6f66ff152e73b59d7c157d72305a092ab9c (diff) |
Merge pull request #18033 from touilleMan/pluginscript_fix_add_global_constant_mandatory
Pluginscript fix add global constant mandatory
Diffstat (limited to 'modules')
-rw-r--r-- | modules/gdnative/pluginscript/register_types.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gdnative/pluginscript/register_types.cpp b/modules/gdnative/pluginscript/register_types.cpp index 8888f9e157..924abf29df 100644 --- a/modules/gdnative/pluginscript/register_types.cpp +++ b/modules/gdnative/pluginscript/register_types.cpp @@ -64,7 +64,7 @@ static Error _check_language_desc(const godot_pluginscript_language_desc *desc) // desc->make_function is not mandatory // desc->complete_code is not mandatory // desc->auto_indent_code is not mandatory - // desc->add_global_constant is not mandatory + ERR_FAIL_COND_V(!desc->add_global_constant, ERR_BUG); // desc->debug_get_error is not mandatory // desc->debug_get_stack_level_count is not mandatory // desc->debug_get_stack_level_line is not mandatory @@ -78,7 +78,7 @@ static Error _check_language_desc(const godot_pluginscript_language_desc *desc) // desc->profiling_stop is not mandatory // desc->profiling_get_accumulated_data is not mandatory // desc->profiling_get_frame_data is not mandatory - // desc->frame is not mandatory + // desc->profiling_frame is not mandatory ERR_FAIL_COND_V(!desc->script_desc.init, ERR_BUG); ERR_FAIL_COND_V(!desc->script_desc.finish, ERR_BUG); |