Add mjs_getCompiler C API and compiler property to Python spec elements.
PiperOrigin-RevId: 881488083 Change-Id: I3aa1c0562bf2fd27057b8056048e3156fc1b067c
This commit is contained in:
committed by
Copybara-Service
parent
d6aac2041e
commit
6890e133c0
@@ -10823,6 +10823,22 @@ FUNCTIONS: Mapping[str, FunctionDecl] = dict([
|
||||
),
|
||||
doc='Get spec from body.',
|
||||
)),
|
||||
('mjs_getCompiler',
|
||||
FunctionDecl(
|
||||
name='mjs_getCompiler',
|
||||
return_type=PointerType(
|
||||
inner_type=ValueType(name='mjsCompiler'),
|
||||
),
|
||||
parameters=(
|
||||
FunctionParameterDecl(
|
||||
name='element',
|
||||
type=PointerType(
|
||||
inner_type=ValueType(name='mjsElement'),
|
||||
),
|
||||
),
|
||||
),
|
||||
doc="Get compiler associated with element's origin spec.",
|
||||
)),
|
||||
('mjs_findSpec',
|
||||
FunctionDecl(
|
||||
name='mjs_findSpec',
|
||||
|
||||
Reference in New Issue
Block a user