static int DIR_remove(dvoid *opaque, const char *name) { char *f = __PHYSFS_platformCvtToDependent((char *) opaque, name, NULL); int retval; BAIL_IF_MACRO(f == NULL, NULL, 0); retval = __PHYSFS_platformDelete(f); allocator.Free(f); return(retval); } /* DIR_remove */
static int DIR_remove(DirHandle *h, const char *name) { char *f = __PHYSFS_platformCvtToDependent((char *)(h->opaque), name, NULL); int retval; BAIL_IF_MACRO(f == NULL, NULL, 0); retval = __PHYSFS_platformDelete(f); free(f); return(retval); } /* DIR_remove */