Add comments to mjpEncoder member functions.
PiperOrigin-RevId: 889233466 Change-Id: Ia08ae7ef9bd554cea2f82270e8f150db3e01bf69
This commit is contained in:
committed by
Copybara-Service
parent
1bfd68cbba
commit
10c5f5d066
@@ -97,8 +97,8 @@ typedef int (*mjfEncode)(const mjSpec* s, const mjModel* m, const mjVFS* vfs,
|
||||
struct mjpEncoder {
|
||||
const char* content_type;
|
||||
const char* extension;
|
||||
mjfEncode encode;
|
||||
mjfCloseResource close_resource;
|
||||
mjfEncode encode; // Function to encode an mjSpec and mjModel to a mjResource.
|
||||
mjfCloseResource close_resource; // Function to close/free the resource.
|
||||
};
|
||||
typedef struct mjpEncoder mjpEncoder;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user