I added some different call_policies to wrap some functions.
These functions where not fully wrapped due to missing informations on
call_policies.
I added the following call_policy :
function.call_policies =
call_policies.return_value_policy(call_policies.return_pointee_value)
I encounter problems during compilation :
wrappers/NastranMaterial.pypp.cpp: In function 'void
register_NastranMaterial_class()':
wrappers/NastranMaterial.pypp.cpp:179: error: 'pyplusplus' was not
declared in this scope
wrappers/NastranMaterial.pypp.cpp:179: error: template argument 1 is invalid
scons: *** [wrappers/NastranMaterial.pypp.os] Error 1
scons: building terminated because of errors.
There is nothing in the examples on call_policies I haven't in my python script.
Am I missing something?
|