Skip to content

Commit

Permalink
Fix wrong comment for mj_saveXML in mujoco.h
Browse files Browse the repository at this point in the history
  • Loading branch information
jjyyxx authored Jan 5, 2025
1 parent abe8ffd commit ae13936
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/mujoco/mujoco.h
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ MJAPI void mj_freeLastXML(void);
// If length of the output buffer is too small, returns the required size.
MJAPI int mj_saveXMLString(const mjSpec* s, char* xml, int xml_sz, char* error, int error_sz);

// Save spec to XML file, return 1 on success, 0 otherwise.
// Save spec to XML file, return 0 on success, -1 otherwise.
MJAPI int mj_saveXML(const mjSpec* s, const char* filename, char* error, int error_sz);


Expand Down

0 comments on commit ae13936

Please sign in to comment.