From 10c5f5d066e4b70df4c97fb94e0c3958f3e7c962 Mon Sep 17 00:00:00 2001 From: Sam Haves Date: Wed, 25 Mar 2026 07:32:22 -0700 Subject: [PATCH] Add comments to mjpEncoder member functions. PiperOrigin-RevId: 889233466 Change-Id: Ia08ae7ef9bd554cea2f82270e8f150db3e01bf69 --- include/mujoco/mjplugin.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/mujoco/mjplugin.h b/include/mujoco/mjplugin.h index 2d34cbaa..7c6300b9 100644 --- a/include/mujoco/mjplugin.h +++ b/include/mujoco/mjplugin.h @@ -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;