Rename WASM binding wrapper functions and reorder generated code.
PiperOrigin-RevId: 834265965 Change-Id: I58e7d572dcae4f1ca262ae5d876fcd8353af183c
This commit is contained in:
committed by
Copybara-Service
parent
10fe5ff07f
commit
49394d57d9
@@ -523,7 +523,8 @@ def _build_struct_bindings(
|
||||
builder.line(".constructor<const MjModel &, const MjData &>()")
|
||||
elif w == "MjModel":
|
||||
builder.line(
|
||||
'.class_function("loadFromXML", &loadFromXML, take_ownership())'
|
||||
'.class_function("loadFromXML", &loadFromXML_wrapper,'
|
||||
" take_ownership())"
|
||||
)
|
||||
builder.line(".constructor<const MjModel &>()")
|
||||
elif w == "MjSpec":
|
||||
|
||||
Reference in New Issue
Block a user