adding some #ifndef SWIG for swig processing

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@743 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
pull/1/head
rave3d 2010-05-27 18:30:28 +00:00
parent e34671e6b3
commit dc3218b08a
2 changed files with 4 additions and 1 deletions

View File

@ -807,7 +807,7 @@ const aiScene* Importer::ReadFileFromMemory( const void* pBuffer,
}
// ------------------------------------------------------------------------------------------------
// Reads the given file and returns its contents if successful.
// Reads the given file and returns its contents if successful.
const aiScene* Importer::ReadFile( const char* _pFile, unsigned int pFlags)
{
ASSIMP_BEGIN_EXCEPTION_REGION();
@ -926,6 +926,7 @@ const aiScene* Importer::ReadFile( const char* _pFile, unsigned int pFlags)
return pimpl->mScene;
}
// ------------------------------------------------------------------------------------------------
// Apply post-processing to the currently bound scene
const aiScene* Importer::ApplyPostProcessing(unsigned int pFlags)

View File

@ -82,6 +82,7 @@ namespace Intern {
* the application is determined to crash.
*/
// --------------------------------------------------------------------
#ifndef SWIG
struct ASSIMP_API AllocateFromAssimpHeap {
// http://www.gotw.ca/publications/mill15.htm
@ -96,6 +97,7 @@ namespace Intern {
void operator delete[] ( void* data);
}; // struct AllocateFromAssimpHeap
#endif
} // namespace Intern
//! @endcond
} // namespace Assimp