Add custom Emscripten binding for mj_saveModel.
Also adds support to unpack nullable string args PiperOrigin-RevId: 859702186 Change-Id: Ia9e10f447ecf17b1dd74dd64d988790107a438a6
This commit is contained in:
committed by
Copybara-Service
parent
5ae6b5fe31
commit
61f13cd8f1
@@ -142,7 +142,6 @@ _SKIPPED_MEMORY_FUNCTIONS: tuple[str, ...] = (
|
||||
"mj_loadModel",
|
||||
"mj_loadModelBuffer",
|
||||
"mj_markStack",
|
||||
"mj_saveModel",
|
||||
"mj_stackAllocByte",
|
||||
"mj_stackAllocInt",
|
||||
"mj_stackAllocNum",
|
||||
@@ -229,6 +228,7 @@ MANUAL_WRAPPER_FUNCTIONS: tuple[str, ...] = (
|
||||
# go/keep-sorted start
|
||||
"mj_compile",
|
||||
"mj_saveLastXML",
|
||||
"mj_saveModel",
|
||||
"mj_setLengthRange",
|
||||
"mju_error",
|
||||
# go/keep-sorted end
|
||||
|
||||
Reference in New Issue
Block a user