Added some FIXMEs and deprecated PHYSFS_getLastError().
This commit is contained in:
parent
ee9687bca9
commit
db2201e4e1
|
@ -4,6 +4,9 @@
|
||||||
* Main header file for PhysicsFS.
|
* Main header file for PhysicsFS.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
// !!! FIXME-3.0: all the "you can get the error from getLastError()" should
|
||||||
|
// !!! FIXME-3.0: be updated for getLastErrorCode.
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \mainpage PhysicsFS
|
* \mainpage PhysicsFS
|
||||||
*
|
*
|
||||||
|
@ -604,6 +607,8 @@ PHYSFS_DECL void PHYSFS_freeList(void *listVar);
|
||||||
* \fn const char *PHYSFS_getLastError(void)
|
* \fn const char *PHYSFS_getLastError(void)
|
||||||
* \brief Get human-readable error information.
|
* \brief Get human-readable error information.
|
||||||
*
|
*
|
||||||
|
* \deprecated Use PHYSFS_getLastErrorCode() and PHYSFS_getErrorByCode() instead.
|
||||||
|
*
|
||||||
* \warning As of PhysicsFS 2.1, this function has been nerfed.
|
* \warning As of PhysicsFS 2.1, this function has been nerfed.
|
||||||
* Before PhysicsFS 2.1, this function was the only way to get
|
* Before PhysicsFS 2.1, this function was the only way to get
|
||||||
* error details beyond a given function's basic return value.
|
* error details beyond a given function's basic return value.
|
||||||
|
@ -648,7 +653,7 @@ PHYSFS_DECL void PHYSFS_freeList(void *listVar);
|
||||||
* \sa PHYSFS_getLastErrorCode
|
* \sa PHYSFS_getLastErrorCode
|
||||||
* \sa PHYSFS_getErrorByCode
|
* \sa PHYSFS_getErrorByCode
|
||||||
*/
|
*/
|
||||||
PHYSFS_DECL const char *PHYSFS_getLastError(void);
|
PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue