Skip to content

Prepend _ for argument names that can collide with reserved argument names - #129

Merged
Berstanio merged 2 commits into
libgdx:masterfrom
0880880:dedup-arguments
Sep 11, 2026
Merged

Berstanio merged 2 commits into
libgdx:masterfrom
0880880:dedup-arguments

Conversation

@0880880

@0880880 0880880 commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

If a function signature in a header contains an argument with the name env, clazz or object it will collide with JNIEnv *env or clazz/object

@Berstanio
Berstanio merged commit 98df089 into libgdx:master Sep 11, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants