Simplify mjs_addDefault.

PiperOrigin-RevId: 646534046
Change-Id: I658224e4800849231e68ed02d8fad07b8d796231
This commit is contained in:
Alessio Quaglino
2024-06-25 10:50:55 -07:00
committed by Copybara-Service
parent 5e39fc0564
commit 6be4e0697e
11 changed files with 32 additions and 32 deletions
+2 -6
View File
@@ -9499,13 +9499,9 @@ FUNCTIONS: Mapping[str, FunctionDecl] = dict([
),
),
FunctionParameterDecl(
name='parentid',
type=ValueType(name='int'),
),
FunctionParameterDecl(
name='id',
name='parent',
type=PointerType(
inner_type=ValueType(name='int'),
inner_type=ValueType(name='mjsDefault', is_const=True),
),
),
),