Add VFS parameter to mjpDecoder decoding function.
PiperOrigin-RevId: 846242734 Change-Id: I317e11e6fcd965f66416abcf690a3a65d043e9ee
This commit is contained in:
committed by
Copybara-Service
parent
bebdd62943
commit
05e1c452c7
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user