|
@@ -371,7 +371,7 @@ struct aiString
|
|
/** Standard return type for some library functions.
|
|
/** Standard return type for some library functions.
|
|
* Rarely used, and if, mostly in the C API.
|
|
* Rarely used, and if, mostly in the C API.
|
|
*/
|
|
*/
|
|
-enum aiReturn
|
|
|
|
|
|
+typedef enum aiReturn
|
|
{
|
|
{
|
|
/** Indicates that a function was successful */
|
|
/** Indicates that a function was successful */
|
|
aiReturn_SUCCESS = 0x0,
|
|
aiReturn_SUCCESS = 0x0,
|
|
@@ -388,7 +388,7 @@ enum aiReturn
|
|
* Force 32-bit size enum
|
|
* Force 32-bit size enum
|
|
*/
|
|
*/
|
|
_AI_ENFORCE_ENUM_SIZE = 0x7fffffff
|
|
_AI_ENFORCE_ENUM_SIZE = 0x7fffffff
|
|
-}; // !enum aiReturn
|
|
|
|
|
|
+} aiReturn; // !enum aiReturn
|
|
|
|
|
|
// just for backwards compatibility, don't use these constants anymore
|
|
// just for backwards compatibility, don't use these constants anymore
|
|
#define AI_SUCCESS aiReturn_SUCCESS
|
|
#define AI_SUCCESS aiReturn_SUCCESS
|