i have created a "cpp" file which has the followin code and when i try to compile it..it does not know what "list" is..it says its undefined..i also tried using #include <boost/python/list.hpp>
but no differe...can someone please help. thanks static list retrieval_as_list(SplitText &self, int position, int retrieveLength) { list result; int *characters = new int[retrieveLength]; int lenRet = self.RetrieveUTF32(position, characters, retrieveLength); for (int i=0;i<lenRet;i++) { result.append(characters[i]); } delete []characters; return result; } -- http://mail.python.org/mailman/listinfo/python-list