Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
It's now safe to call PHYSFS_* functions from callbacks, since mutexe…
…s are now

 recursive internally...removed warning in headers.
  • Loading branch information
icculus committed Apr 2, 2007
1 parent 1622f17 commit bc1c890
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions physfs.h
Expand Up @@ -2075,10 +2075,6 @@ __EXPORT__ int PHYSFS_mount(const char *newDir, const char *mountPoint, int appe
__EXPORT__ const char *PHYSFS_getMountPoint(const char *dir);


/*
* it is not safe to call physfs functions in these callbacks, as they may
* be holding non recursive mutexes.
*/
/* !!! FIXME: comment! */
typedef void (*PHYSFS_StringCallback)(void *, const char *);
typedef void (*PHYSFS_EnumFilesCallback)(void *, const char *, const char *);
Expand Down

0 comments on commit bc1c890

Please sign in to comment.