[D] Completely bind the C API now that the aiGetMaterialProperty issue is resolved.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@544 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
pull/1/head
klickverbot 2010-02-15 13:34:54 +00:00
parent 5355156b43
commit de9a56b245
3 changed files with 2 additions and 8 deletions

View File

@ -8,10 +8,4 @@ You should be able to create sufficient DDoc documentation for the bindings
using your favourite build tool (such as Rebuild). Please refer to the main using your favourite build tool (such as Rebuild). Please refer to the main
(Doxygen-generated) documentation for general topics. (Doxygen-generated) documentation for general topics.
Currently, there is a bug which causes aiGetMaterialProperty() to receive a
wrong name in the dynamic library (the C++ symbol naming convention is used
instead of the plain C name). Since the bindings loader looks up all function
adresses at runtime using the symbol name, this function is not accessible
at the moment.
Please contact <klickverbot@gmail.com> for any bindings-specific issues. Please contact <klickverbot@gmail.com> for any bindings-specific issues.

View File

@ -483,7 +483,7 @@ extern ( C ) {
aiReturn function( aiReturn function(
aiMaterial* pMat, aiMaterial* pMat,
char* pKey, char* pKey,
aiTextureType type, uint type,
uint index, uint index,
aiMaterialProperty** pPropOut aiMaterialProperty** pPropOut
) aiGetMaterialProperty; ) aiGetMaterialProperty;

View File

@ -147,7 +147,7 @@ public:
bind( aiIdentityMatrix4 )( "aiIdentityMatrix4" ); bind( aiIdentityMatrix4 )( "aiIdentityMatrix4" );
// Material system // Material system
//bind( aiGetMaterialProperty )( "aiGetMaterialProperty" ); bind( aiGetMaterialProperty )( "aiGetMaterialProperty" );
bind( aiGetMaterialFloatArray )( "aiGetMaterialFloatArray" ); bind( aiGetMaterialFloatArray )( "aiGetMaterialFloatArray" );
bind( aiGetMaterialIntegerArray )( "aiGetMaterialIntegerArray" ); bind( aiGetMaterialIntegerArray )( "aiGetMaterialIntegerArray" );
bind( aiGetMaterialColor )( "aiGetMaterialColor" ); bind( aiGetMaterialColor )( "aiGetMaterialColor" );