Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

miss argument #1421

Closed
wants to merge 1 commit into from
Closed

miss argument #1421

wants to merge 1 commit into from

Conversation

GraCoder
Copy link

UtilityFunctions::instance_from_id crash

@GraCoder GraCoder requested a review from a team as a code owner March 27, 2024 03:26
@AThousandShips
Copy link
Member

AThousandShips commented Mar 27, 2024

I think the solution is instead to change this

function_call += "internal::_call_utility_ret_obj(_gde_function"

To:

function_call += "internal::_call_utility_ret_obj(_gde_function, nullptr"

Like this:

method_call += f"return Ref<{return_type}>::_gde_internal_constructor(internal::_call_native_mb_ret_obj<{return_type}>(_gde_method_bind, nullptr"

@AThousandShips
Copy link
Member

Made a fix for this by removing the argument from the method entirely as it's never used and isn't depended on, will open a PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants