SWIG: Even more output parameter handling.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@776 67173fc5-114c-0410-ac8e-9d2fd5bffc1fpull/1/head
parent
8881d5f752
commit
e6516329b9
|
@ -9,9 +9,11 @@ ASSIMP_ARRAY(aiMaterial, aiMaterialProperty*, mProperties, $self->mNumProperties
|
|||
%apply unsigned int *OUTPUT { unsigned int* uvindex };
|
||||
%apply float *OUTPUT { float* blend };
|
||||
%apply enum SWIGTYPE *OUTPUT { aiTextureOp* op };
|
||||
%apply unsigned int *OUTPUT { unsigned int* flags };
|
||||
|
||||
%include "aiMaterial.h"
|
||||
|
||||
%clear unsigned int* flags;
|
||||
%clear aiTextureOp* op;
|
||||
%clear float *blend;
|
||||
%clear unsigned int* uvindex;
|
||||
|
|
|
@ -37,5 +37,9 @@ namespace Assimp {
|
|||
return ret;
|
||||
}
|
||||
|
||||
%include <typemaps.i>
|
||||
%apply bool *OUTPUT { bool *bWasExisting };
|
||||
|
||||
%include "assimp.hpp"
|
||||
|
||||
%clear bool *bWasExisting;
|
||||
|
|
Loading…
Reference in New Issue