bugfix:
- fix c-api: insert a missing typedef for the metadata api enum. - gix c-api: move cpp-include to cpp-part of the api. Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>pull/267/head
parent
14457d2be4
commit
8c8c5329e9
|
@ -60,7 +60,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
* Enum used to distinguish data types
|
||||
*/
|
||||
// -------------------------------------------------------------------------------
|
||||
enum aiMetadataType
|
||||
typedef enum aiMetadataType
|
||||
{
|
||||
AI_BOOL = 0,
|
||||
AI_INT = 1,
|
||||
|
@ -72,7 +72,7 @@ enum aiMetadataType
|
|||
#ifndef SWIG
|
||||
FORCE_32BIT = INT_MAX
|
||||
#endif
|
||||
};
|
||||
} aiMetadataType;
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -46,7 +46,6 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
#define AI_TYPES_H_INC
|
||||
|
||||
// Some runtime headers
|
||||
#include <cstring>
|
||||
#include <sys/types.h>
|
||||
#include <memory.h>
|
||||
#include <math.h>
|
||||
|
@ -66,6 +65,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
#include "quaternion.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
#include <cstring>
|
||||
#include <new> // for std::nothrow_t
|
||||
#include <string> // for aiString::Set(const std::string&)
|
||||
|
||||
|
|
Loading…
Reference in New Issue