On 03/11/2014 13:53, Joseph Shen wrote:
In the boost::python library there is a function
boost::python::long_
and this function return a boost::python::object variable
I'm trying to wrap a double variale but I can't find
something just like
boost::python::double_
can someone help me to build a double object
PS.
I know there are some functions in pure python c api like
PyFloat_FromDouble
and after create the object I can wrap it in boost::python::object
but all I want is same api from boost::python library
I can't find what I want
tanks.
I'm sorry that I can't help directly but try here
https://mail.python.org/mailman/listinfo/cplusplus-sig which is also
available as gmane.comp.python.c++
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list