GraphicsAPI_2020C
version.h
Go to the documentation of this file.
1 /*
2 ---------------------------------------------------------------------------
3 Open Asset Import Library (assimp)
4 ---------------------------------------------------------------------------
5 
6 Copyright (c) 2006-2017, assimp team
7 
8 
9 All rights reserved.
10 
11 Redistribution and use of this software in source and binary forms,
12 with or without modification, are permitted provided that the following
13 conditions are met:
14 
15 * Redistributions of source code must retain the above
16  copyright notice, this list of conditions and the
17  following disclaimer.
18 
19 * Redistributions in binary form must reproduce the above
20  copyright notice, this list of conditions and the
21  following disclaimer in the documentation and/or other
22  materials provided with the distribution.
23 
24 * Neither the name of the assimp team, nor the names of its
25  contributors may be used to endorse or promote products
26  derived from this software without specific prior
27  written permission of the assimp team.
28 
29 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
30 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
31 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
32 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
33 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
34 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
35 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
36 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
37 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
38 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
39 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
40 ---------------------------------------------------------------------------
41 */
42 
47 #pragma once
48 #ifndef AI_VERSION_H_INC
49 #define AI_VERSION_H_INC
50 
51 #include "defs.h"
52 
53 #ifdef __cplusplus
54 extern "C" {
55 #endif
56 
57 // ---------------------------------------------------------------------------
62 ASSIMP_API const char* aiGetLegalString (void);
63 
64 // ---------------------------------------------------------------------------
69 ASSIMP_API unsigned int aiGetVersionMinor (void);
70 
71 // ---------------------------------------------------------------------------
76 ASSIMP_API unsigned int aiGetVersionMajor (void);
77 
78 // ---------------------------------------------------------------------------
83 ASSIMP_API unsigned int aiGetVersionRevision (void);
84 
86 #define ASSIMP_CFLAGS_SHARED 0x1
87 #define ASSIMP_CFLAGS_STLPORT 0x2
89 #define ASSIMP_CFLAGS_DEBUG 0x4
91 
93 #define ASSIMP_CFLAGS_NOBOOST 0x8
94 #define ASSIMP_CFLAGS_SINGLETHREADED 0x10
96 
97 // ---------------------------------------------------------------------------
101 ASSIMP_API unsigned int aiGetCompileFlags (void);
102 
103 #ifdef __cplusplus
104 } // end extern "C"
105 #endif
106 
107 #endif // !! #ifndef AI_VERSION_H_INC
108 
ASSIMP_API const char * aiGetLegalString(void)
Returns a string with legal copyright and licensing information about Assimp.
ASSIMP_API unsigned int aiGetCompileFlags(void)
Returns assimp's compile flags.
ASSIMP_API unsigned int aiGetVersionMajor(void)
Returns the current major version number of Assimp.
Assimp build configuration setup.
ASSIMP_API unsigned int aiGetVersionMinor(void)
Returns the current minor version number of Assimp.
ASSIMP_API unsigned int aiGetVersionRevision(void)
Returns the repository revision of the Assimp runtime.