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.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to