[Jahshaka-cvs] openlibraries/src/openpluginlib/py string.cpp, 1.3, 1.4
Status: Beta
Brought to you by:
jahshaka
From: tim <tim...@us...> - 2006-07-23 13:28:07
|
Update of /cvsroot/openlibraries/openlibraries/src/openpluginlib/py In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv8179/src/openpluginlib/py Modified Files: string.cpp Log Message: - fix for stupid mistake in string_list wrappers Index: string.cpp =================================================================== RCS file: /cvsroot/openlibraries/openlibraries/src/openpluginlib/py/string.cpp,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- string.cpp 22 Jul 2006 15:04:14 -0000 1.3 +++ string.cpp 23 Jul 2006 13:28:03 -0000 1.4 @@ -125,7 +125,7 @@ if( PyList_Check( obj_ptr ) ) result = obj_ptr; - return obj_ptr; + return result; } static void construct( PyObject* obj_ptr, py::converter::rvalue_from_python_stage1_data* data ) @@ -177,7 +177,7 @@ if( PyList_Check( obj_ptr ) ) result = obj_ptr; - return obj_ptr; + return result; } static void construct( PyObject* obj_ptr, py::converter::rvalue_from_python_stage1_data* data ) |