Convert user_api header and user_init source files to valid C code.

PiperOrigin-RevId: 629691192
Change-Id: I9be78aca27ae584fff0b733e9015b2bb3b927ca4
This commit is contained in:
Yuval Tassa
2024-05-01 04:51:54 -07:00
committed by Copybara-Service
parent 8d1f65c01a
commit 1b70907060
13 changed files with 478 additions and 501 deletions
+1 -1
View File
@@ -83,7 +83,7 @@ static void copyvec(T1* dest, T2* src, int n) {
// constructor
mjCModel::mjCModel() {
mjs_defaultSpec(spec);
mjs_defaultSpec(&spec);
elemtype = mjOBJ_UNKNOWN;
spec_comment_.clear();
spec_modelfiledir_.clear();