Skip to content

Conversation

AThousandShips
Copy link
Member

@AThousandShips AThousandShips commented Mar 27, 2024

The alternative method would be to change the bindings from:

function_call += "internal::_call_utility_ret_obj(_gde_function"

To:

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

But I don't see any reason to pass this argument here, and this is strictly internal, so I think this is the simplest and cleanest solution, I have tested both methods and they both work correctly

See:

@AThousandShips AThousandShips added bug This has been identified as a bug topic:gdextension This relates to the new Godot 4 extension implementation labels Mar 27, 2024
@AThousandShips AThousandShips added this to the 4.3 milestone Mar 27, 2024
@AThousandShips AThousandShips marked this pull request as ready for review March 27, 2024 12:22
@AThousandShips AThousandShips requested a review from a team as a code owner March 27, 2024 12:22
Copy link
Collaborator

@dsnopek dsnopek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Looks good to me :-)

@dsnopek
Copy link
Collaborator

dsnopek commented Apr 2, 2024

Ack, there's a conflict now from merging PR #1409. Can you please rebase it? Thanks!

@dsnopek dsnopek merged commit b021245 into godotengine:master Apr 3, 2024
@dsnopek
Copy link
Collaborator

dsnopek commented Apr 3, 2024

Thanks!

@AThousandShips AThousandShips deleted the utility_fix branch April 3, 2024 14:07
@AThousandShips
Copy link
Member Author

Thank you!

@dsnopek
Copy link
Collaborator

dsnopek commented Apr 8, 2024

Cherry-picked for 4.1 in PR #1411

@dsnopek
Copy link
Collaborator

dsnopek commented Apr 8, 2024

Cherry-picked for 4.2 in PR #1410

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug This has been identified as a bug topic:gdextension This relates to the new Godot 4 extension implementation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants