Track authored flags for global attributes

PiperOrigin-RevId: 931585539
Change-Id: Ifdc8c59de6c5a553daf6e0af09d8192aff6b0610
This commit is contained in:
Yuval Tassa
2026-06-13 02:57:52 -07:00
committed by Copybara-Service
parent 0ea9c7cb3a
commit 67a1ea6dca
21 changed files with 823 additions and 195 deletions
@@ -82,8 +82,10 @@ def _value_binding_code(
field.name == 'mjsPlugin'
or field.name == 'mjsOrientation'
or field.name == 'mjsCompiler'
or field.name == 'mjsAuthored'
):
fulltype = fulltype + '&' # plugin, orientation, compiler aren't pointers
# plugin, orientation, compiler, authored aren't pointers
fulltype = fulltype + '&'
else:
fulltype = fulltype + '*'
# non-mjs structs