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

Make Object "meta" functions take StringName. #50753

Merged
merged 1 commit into from
Jul 22, 2021

Conversation

Faless
Copy link
Collaborator

@Faless Faless commented Jul 22, 2021

The various get_meta, set_meta, has_meta, get_meta_list, remove_meta functions now uses StringName, allowing further optimizations via the SNAME macro when used from C++ (this PR does not change the various usage though).

@Faless Faless added this to the 4.0 milestone Jul 22, 2021
@Faless Faless requested a review from reduz July 22, 2021 20:43
@Faless Faless requested review from a team as code owners July 22, 2021 20:43
@akien-mga
Copy link
Member

You'll need to fix uses of get_meta_list: https://github.com/godotengine/godot/pull/50753/checks?check_run_id=3138092267

The various get_meta, set_meta, has_meta, get_meta_list, remove_meta
functions now uses StringName, allowing further optimizations via the
SNAME macro when used from C++ (this PR does not change the various
usage though).
@Faless Faless force-pushed the obj/4.x_stringname_meta branch from b88c301 to 1147fa5 Compare July 22, 2021 20:52
@Faless Faless requested a review from a team as a code owner July 22, 2021 20:52
@akien-mga akien-mga merged commit 5156703 into godotengine:master Jul 22, 2021
@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