Merge pull request #730 from bruvzg/static_no_return

pull/732/head
Rémi Verschelde 2022-03-25 13:35:23 +01:00 committed by GitHub
commit 5eb1c54116
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -1134,6 +1134,9 @@ def generate_engine_class_source(class_api, used_classes, fully_used_classes, us
method_call += f"return internal::_call_native_mb_ret_obj<{return_type}>(___method_bind, nullptr" method_call += f"return internal::_call_native_mb_ret_obj<{return_type}>(___method_bind, nullptr"
else: else:
method_call += f"return internal::_call_native_mb_ret_obj<{return_type}>(___method_bind, _owner" method_call += f"return internal::_call_native_mb_ret_obj<{return_type}>(___method_bind, _owner"
else:
if method["is_static"]:
method_call += f"internal::_call_native_mb_no_ret(___method_bind, nullptr"
else: else:
method_call += f"internal::_call_native_mb_no_ret(___method_bind, _owner" method_call += f"internal::_call_native_mb_no_ret(___method_bind, _owner"