Roll back VFS refactor due internal breakages
PiperOrigin-RevId: 856273160 Change-Id: I4097e05ed4e48ebee05b4347d0f227d4f39c1b09
This commit is contained in:
committed by
Copybara-Service
parent
c996f288e1
commit
cbc1136502
@@ -78,13 +78,6 @@ MJAPI extern const char* mjRNDSTRING[mjNRNDFLAG][3];
|
||||
// Initialize an empty VFS, mj_deleteVFS must be called to deallocate the VFS.
|
||||
MJAPI void mj_defaultVFS(mjVFS* vfs);
|
||||
|
||||
// Mount a ResourceProvider to handle file operations under the given path; return 0: success,
|
||||
// 2: repeated name, -1: invalid resource provider.
|
||||
MJAPI int mj_mountVFS(mjVFS* vfs, const char* filepath, const mjpResourceProvider* provider);
|
||||
|
||||
// Unmount a previously mounted ResourceProvider; return 0: success, -1: not found in VFS.
|
||||
MJAPI int mj_unmountVFS(mjVFS* vfs, const char* filename);
|
||||
|
||||
// Add file to VFS; return 0: success, 2: repeated name, -1: failed to load.
|
||||
MJAPI int mj_addFileVFS(mjVFS* vfs, const char* directory, const char* filename);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user