Update defs.h
parent
8a3a727865
commit
52c66406fa
|
@ -3,7 +3,7 @@
|
||||||
Open Asset Import Library (assimp)
|
Open Asset Import Library (assimp)
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
|
|
||||||
Copyright (c) 2006-2020, assimp team
|
Copyright (c) 2006-2021, assimp team
|
||||||
|
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
|
||||||
|
@ -160,17 +160,14 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
#ifdef ASSIMP_BUILD_DLL_EXPORT
|
#ifdef ASSIMP_BUILD_DLL_EXPORT
|
||||||
#pragma warning(disable : 4251)
|
#pragma warning(disable : 4251)
|
||||||
#endif
|
#endif
|
||||||
/* Force the compiler to inline a function, if possible
|
/* Force the compiler to inline a function, if possible */
|
||||||
*/
|
#define AI_FORCE_INLINE inline
|
||||||
#define AI_FORCE_INLINE __forceinline
|
|
||||||
|
|
||||||
/* Tells the compiler that a function never returns. Used in code analysis
|
/* Tells the compiler that a function never returns. Used in code analysis
|
||||||
* to skip dead paths (e.g. after an assertion evaluated to false). */
|
* to skip dead paths (e.g. after an assertion evaluated to false). */
|
||||||
#define AI_WONT_RETURN __declspec(noreturn)
|
#define AI_WONT_RETURN __declspec(noreturn)
|
||||||
#elif defined(SWIG)
|
#elif defined(SWIG)
|
||||||
|
|
||||||
/* Do nothing, the relevant defines are all in AssimpSwigPort.i */
|
/* Do nothing, the relevant defines are all in AssimpSwigPort.i */
|
||||||
|
|
||||||
#else
|
#else
|
||||||
#define AI_WONT_RETURN
|
#define AI_WONT_RETURN
|
||||||
#define AI_FORCE_INLINE inline
|
#define AI_FORCE_INLINE inline
|
||||||
|
|
Loading…
Reference in New Issue