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
+1 -1
View File
@@ -69,7 +69,7 @@ typedef struct mjpResourceProvider mjpResourceProvider;
// function pointer types
// return an mjSpec representing the decoded resource.
typedef mjSpec* (*mjfDecode)(mjResource* resource);
typedef mjSpec* (*mjfDecode)(mjResource* resource, const mjVFS* vfs);
// return true if the given resource can be decoded.
typedef int (*mjfCanDecode)(const mjResource* resource);