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

Add missing CallableCustomMethodPointer for const methods #94864

Merged
merged 1 commit into from
Sep 26, 2024

Conversation

rune-scape
Copy link
Contributor

actually slightly refactored the code to reduce duplicate code and to allow const functions returning void
and fixed some incorrect functions in binder_common.h

required for #94744

Copy link
Member

@RandomShaper RandomShaper left a comment

Choose a reason for hiding this comment

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

LGTM. TIWAGOS, though.

Copy link
Member

@KoBeWi KoBeWi left a comment

Choose a reason for hiding this comment

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

Doesn't seem to break anything.
Note that it uses some std stuff though.

@clayjohn
Copy link
Member

Doesn't seem to break anything. Note that it uses some std stuff though.

Seems like <type_traits> is included in a lot of places already, so its probably fine

@RandomShaper
Copy link
Member

The fact that language features are modeled as items in the standard library makes that non-avoidable in cases like this.

@akien-mga akien-mga merged commit 9d5b59b into godotengine:master Sep 26, 2024
19 checks passed
@akien-mga
Copy link
Member

Thanks!

@akien-mga akien-mga added the cherrypick:4.3 Considered for cherry-picking into a future 4.3.x release label Sep 26, 2024
@rune-scape rune-scape deleted the add-missing-method-bind branch September 29, 2024 04:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherrypick:4.3 Considered for cherry-picking into a future 4.3.x release enhancement topic:core
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants