API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

IACTORFRAME_CONVERTSTRINGTOPATH()

Brew Release
Brew MP 1.0.2
See Also
None
Description
the corresponding VFS path. We actual store the null-terminated array of pointers before a copy of the original string (after removing the leading '/'), with '/' replaced with 0. This means we only need to MALLOC a single block of memory, whose size = 4*(num path elements + 1) +len(pathStr with leading '/' removed)
Interface
Prototype
  •    int IActorFrame_ConvertStringToPath(
          ActorBase *pMe,
          AECHAR *pathStr, 
          AECHAR ***pVFSPath
       )
    
Return
  • int: SUCCESS if successful
Side Effect
  • None
Comments
*pVFSPath if the result is successful.