Add VFS parameter to mjpDecoder decoding function.

PiperOrigin-RevId: 846242734
Change-Id: I317e11e6fcd965f66416abcf690a3a65d043e9ee
This commit is contained in:
Sam Haves
2025-12-18 06:37:36 -08:00
committed by Copybara-Service
parent bebdd62943
commit 05e1c452c7
5 changed files with 11 additions and 10 deletions
+2 -1
View File
@@ -48,7 +48,8 @@ MJAPI int mju_isModifiedResource(const mjResource* resource, const char* timesta
// given a resource, find its decoder and return the decoded spec
// the caller takes ownership of the spec and is responsible for cleaning it up
MJAPI mjSpec* mju_decodeResource(mjResource* resource, const char* content_type);
MJAPI mjSpec* mju_decodeResource(mjResource* resource, const char* content_type,
const mjVFS* vfs);
#ifdef __cplusplus
}