Added evil GOTO_*_MACRO_* macros.
This commit is contained in:
parent
0dd93d3c13
commit
bdb7f54bd9
|
@ -2,6 +2,7 @@
|
||||||
* CHANGELOG.
|
* CHANGELOG.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
03122005 - Added evil GOTO_*_MACRO_* macros.
|
||||||
02152005 - Minor comment fix in platform/pocketpc.c
|
02152005 - Minor comment fix in platform/pocketpc.c
|
||||||
01052005 - Fixed HOG archiver file lookup (thanks, Chris!)
|
01052005 - Fixed HOG archiver file lookup (thanks, Chris!)
|
||||||
12162004 - Fixed some documentation/header comment typos (thanks, Gaetan!)
|
12162004 - Fixed some documentation/header comment typos (thanks, Gaetan!)
|
||||||
|
|
|
@ -1234,6 +1234,10 @@ void __PHYSFS_sort(void *entries, PHYSFS_uint32 max,
|
||||||
#define BAIL_IF_MACRO(c, e, r) if (c) { __PHYSFS_setError(e); return r; }
|
#define BAIL_IF_MACRO(c, e, r) if (c) { __PHYSFS_setError(e); return r; }
|
||||||
#define BAIL_MACRO_MUTEX(e, m, r) { __PHYSFS_setError(e); __PHYSFS_platformReleaseMutex(m); return r; }
|
#define BAIL_MACRO_MUTEX(e, m, r) { __PHYSFS_setError(e); __PHYSFS_platformReleaseMutex(m); return r; }
|
||||||
#define BAIL_IF_MACRO_MUTEX(c, e, m, r) if (c) { __PHYSFS_setError(e); __PHYSFS_platformReleaseMutex(m); return r; }
|
#define BAIL_IF_MACRO_MUTEX(c, e, m, r) if (c) { __PHYSFS_setError(e); __PHYSFS_platformReleaseMutex(m); return r; }
|
||||||
|
#define GOTO_MACRO(e, g) { __PHYSFS_setError(e); goto g; }
|
||||||
|
#define GOTO_IF_MACRO(c, e, g) if (c) { __PHYSFS_setError(e); goto g; }
|
||||||
|
#define GOTO_MACRO_MUTEX(e, m, g) { __PHYSFS_setError(e); __PHYSFS_platformReleaseMutex(m); goto g; }
|
||||||
|
#define GOTO_IF_MACRO_MUTEX(c, e, m, g) if (c) { __PHYSFS_setError(e); __PHYSFS_platformReleaseMutex(m); goto g; }
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue