Skip to content

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