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

Implement varargs in Methodinfo #62342

Merged
merged 1 commit into from
Jun 23, 2022
Merged

Conversation

reduz
Copy link
Member

@reduz reduz commented Jun 23, 2022

Variadic templates are an awful thing. Implements #62233 using them in MethodInfo so less changes are required.

@reduz reduz requested review from a team as code owners June 23, 2022 10:23
core/object/object.h Outdated Show resolved Hide resolved
Copy link
Member

@akien-mga akien-mga left a comment

Choose a reason for hiding this comment

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

Code looks good to me, it's nicer than having to use a new macro for sure.

@akien-mga akien-mga requested a review from KoBeWi June 23, 2022 10:30
Variadic templates are an awful thing. Implements godotengine#62233 using them in MethodInfo so less changes are required.
@reduz reduz force-pushed the methodinfo-varargs branch from d533c03 to dd8c052 Compare June 23, 2022 12:50
@reduz
Copy link
Member Author

reduz commented Jun 23, 2022

Damn, not having much luck with the sanitizer, I know what I am doing is perfectly safe but I kind of understand why the sanitizer does not like it. May need to switch a page based approach if I can't solve it.

@akien-mga
Copy link
Member

Damn, not having much luck with the sanitizer, I know what I am doing is perfectly safe but I kind of understand why the sanitizer does not like it. May need to switch a page based approach if I can't solve it.

I guess you meant to post this on #62303, I don't see a sanitizer issue in this PR.

@akien-mga akien-mga merged commit 471050e into godotengine:master Jun 23, 2022
@akien-mga
Copy link
Member

Thanks!

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

Successfully merging this pull request may close these issues.

2 participants