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
Comment
*pVFSPath if the result is successful.
  • Follow