2008/12/18 lin yun <yunli...@gmail.com>: > Actually I used return_range with element type of unsigned short. Python > interprets the element as int. > > You mean it is not difficult to wrap a function that returns > vector<boost::shared_ptr<char>> then?
Yes. Take a look on example: http://language-binding.net/pyplusplus/documentation/functions/transformation/output_static_array.html -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ _______________________________________________ Cplusplus-sig mailing list Cplusplus-sig@python.org http://mail.python.org/mailman/listinfo/cplusplus-sig