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 used to distinguish data types
|
||||||
*/
|
*/
|
||||||
// -------------------------------------------------------------------------------
|
// -------------------------------------------------------------------------------
|
||||||
enum aiMetadataType
|
typedef enum aiMetadataType
|
||||||
{
|
{
|
||||||
AI_BOOL = 0,
|
AI_BOOL = 0,
|
||||||
AI_INT = 1,
|
AI_INT = 1,
|
||||||
|
@ -72,7 +72,7 @@ enum aiMetadataType
|
||||||
#ifndef SWIG
|
#ifndef SWIG
|
||||||
FORCE_32BIT = INT_MAX
|
FORCE_32BIT = INT_MAX
|
||||||
#endif
|
#endif
|
||||||
};
|
} aiMetadataType;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -122,14 +122,14 @@ struct aiNode
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
/** Constructor */
|
/** Constructor */
|
||||||
aiNode()
|
aiNode()
|
||||||
// set all members to zero by default
|
// set all members to zero by default
|
||||||
: mName("")
|
: mName("")
|
||||||
, mParent(NULL)
|
, mParent(NULL)
|
||||||
, mNumChildren(0)
|
, mNumChildren(0)
|
||||||
, mChildren(NULL)
|
, mChildren(NULL)
|
||||||
, mNumMeshes(0)
|
, mNumMeshes(0)
|
||||||
, mMeshes(NULL)
|
, mMeshes(NULL)
|
||||||
, mMetaData(NULL)
|
, mMetaData(NULL)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -137,13 +137,13 @@ struct aiNode
|
||||||
/** Construction from a specific name */
|
/** Construction from a specific name */
|
||||||
aiNode(const std::string& name)
|
aiNode(const std::string& name)
|
||||||
// set all members to zero by default
|
// set all members to zero by default
|
||||||
: mName(name)
|
: mName(name)
|
||||||
, mParent(NULL)
|
, mParent(NULL)
|
||||||
, mNumChildren(0)
|
, mNumChildren(0)
|
||||||
, mChildren(NULL)
|
, mChildren(NULL)
|
||||||
, mNumMeshes(0)
|
, mNumMeshes(0)
|
||||||
, mMeshes(NULL)
|
, mMeshes(NULL)
|
||||||
, mMetaData(NULL)
|
, mMetaData(NULL)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -46,7 +46,6 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
#define AI_TYPES_H_INC
|
#define AI_TYPES_H_INC
|
||||||
|
|
||||||
// Some runtime headers
|
// Some runtime headers
|
||||||
#include <cstring>
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <memory.h>
|
#include <memory.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
@ -66,6 +65,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
#include "quaternion.h"
|
#include "quaternion.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
#include <cstring>
|
||||||
#include <new> // for std::nothrow_t
|
#include <new> // for std::nothrow_t
|
||||||
#include <string> // for aiString::Set(const std::string&)
|
#include <string> // for aiString::Set(const std::string&)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue