Correcting a bug where the constructor & destructor of aiScene were not exported correctly in the assim library

pull/261/head
Léo Terziman 2013-09-18 15:34:54 +02:00
parent df700b998f
commit 5e603d9ed8
2 changed files with 4 additions and 4 deletions

View File

@ -69,7 +69,7 @@ ASSIMP_API unsigned int aiGetVersionRevision ()
} }
// ------------------------------------------------------------------------------------------------ // ------------------------------------------------------------------------------------------------
aiScene::aiScene() ASSIMP_API aiScene::aiScene()
: mFlags() : mFlags()
, mRootNode() , mRootNode()
, mNumMeshes() , mNumMeshes()
@ -89,7 +89,7 @@ aiScene::aiScene()
} }
// ------------------------------------------------------------------------------------------------ // ------------------------------------------------------------------------------------------------
aiScene::~aiScene() ASSIMP_API aiScene::~aiScene()
{ {
// delete all sub-objects recursively // delete all sub-objects recursively
delete mRootNode; delete mRootNode;

View File

@ -378,10 +378,10 @@ struct aiScene
#ifdef __cplusplus #ifdef __cplusplus
//! Default constructor - set everything to 0/NULL //! Default constructor - set everything to 0/NULL
aiScene(); ASSIMP_API aiScene();
//! Destructor //! Destructor
~aiScene(); ASSIMP_API ~aiScene();
//! Check whether the scene contains meshes //! Check whether the scene contains meshes
//! Unless no special scene flags are set this will always be true. //! Unless no special scene flags are set this will always be true.