Add mjs_getPluginAttributes.

PiperOrigin-RevId: 752691116
Change-Id: Ib503a99f8d10661b8bf92410ccf471420f924986
This commit is contained in:
Alessio Quaglino
2025-04-29 05:18:17 -07:00
committed by Copybara-Service
parent 2545ec5383
commit 3e9d130092
8 changed files with 52 additions and 3 deletions
+16
View File
@@ -10298,6 +10298,22 @@ FUNCTIONS: Mapping[str, FunctionDecl] = dict([
),
doc='Get double array contents and optionally its size.',
)),
('mjs_getPluginAttributes',
FunctionDecl(
name='mjs_getPluginAttributes',
return_type=PointerType(
inner_type=ValueType(name='void', is_const=True),
),
parameters=(
FunctionParameterDecl(
name='plugin',
type=PointerType(
inner_type=ValueType(name='mjsPlugin', is_const=True),
),
),
),
doc='Get plugin attributes.',
)),
('mjs_setDefault',
FunctionDecl(
name='mjs_setDefault',