Really fix compilation with old SIP (tool for generating bindings)

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>

git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1775 8eb893ce-cfd4-0310-b710-fb5ebe64c474
sayer/1.4-spce2.6
Peter Lemenkov 17 years ago
parent a0f3d9f637
commit 9ead74b670

@ -23,7 +23,7 @@ using std::string;
return 0;
}
#if SIP_VERSION < 0x040901
*sipCppPtr = (std::string *)sipForceConvertToType(sipPy, sipType_string, NULL, SIP_NO_CONVERTORS, NULL, sipIsErr);
*sipCppPtr = (std::string *)sipForceConvertTo_string(sipPy, sipIsErr);
#else
*sipCppPtr = (std::string *)sipForceConvertToType(sipPy, sipType_string, NULL, SIP_NO_CONVERTORS, NULL, sipIsErr);
#endif

Loading…
Cancel
Save