Compare commits
2 Commits
master
...
kimkulling
Author | SHA1 | Date |
---|---|---|
Kim Kulling | 98168e7b8f | |
Kim Kulling | 7eb1bf59ee |
|
@ -73,14 +73,8 @@ typedef uint32_t ai_uint32;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|
||||||
#ifdef ASSIMP_USE_HUNTER
|
|
||||||
# include <utf8.h>
|
|
||||||
#else
|
|
||||||
# include "../contrib/utf8cpp/source/utf8.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <cstring>
|
#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&)
|
||||||
|
|
||||||
namespace Assimp {
|
namespace Assimp {
|
||||||
|
@ -88,16 +82,16 @@ namespace Assimp {
|
||||||
namespace Intern {
|
namespace Intern {
|
||||||
// --------------------------------------------------------------------
|
// --------------------------------------------------------------------
|
||||||
/** @brief Internal helper class to utilize our internal new/delete
|
/** @brief Internal helper class to utilize our internal new/delete
|
||||||
* routines for allocating object of this and derived classes.
|
* routines for allocating object of this and derived classes.
|
||||||
*
|
*
|
||||||
* By doing this you can safely share class objects between Assimp
|
* By doing this you can safely share class objects between Assimp
|
||||||
* and the application - it works even over DLL boundaries. A good
|
* and the application - it works even over DLL boundaries. A good
|
||||||
* example is the #IOSystem where the application allocates its custom
|
* example is the #IOSystem where the application allocates its custom
|
||||||
* #IOSystem, then calls #Importer::SetIOSystem(). When the Importer
|
* #IOSystem, then calls #Importer::SetIOSystem(). When the Importer
|
||||||
* destructs, Assimp calls operator delete on the stored #IOSystem.
|
* destructs, Assimp calls operator delete on the stored #IOSystem.
|
||||||
* If it lies on a different heap than Assimp is working with,
|
* If it lies on a different heap than Assimp is working with,
|
||||||
* the application is determined to crash.
|
* the application is determined to crash.
|
||||||
*/
|
*/
|
||||||
// --------------------------------------------------------------------
|
// --------------------------------------------------------------------
|
||||||
#ifndef SWIG
|
#ifndef SWIG
|
||||||
struct ASSIMP_API AllocateFromAssimpHeap {
|
struct ASSIMP_API AllocateFromAssimpHeap {
|
||||||
|
|
Loading…
Reference in New Issue