Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #80154
| Newsgroups | comp.lang.python |
|---|---|
| Date | 2014-11-03 05:53 -0800 |
| Message-ID | <b822b2c8-c953-4541-afae-cb5ca3ea96c9@googlegroups.com> (permalink) |
| Subject | support for boost::python for build double object |
| From | Joseph Shen <joseph.smeng@gmail.com> |
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.
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
support for boost::python for build double object Joseph Shen <joseph.smeng@gmail.com> - 2014-11-03 05:53 -0800
Re: support for boost::python for build double object Skip Montanaro <skip.montanaro@gmail.com> - 2014-11-03 08:10 -0600
Re: support for boost::python for build double object Joseph Shen <joseph.smeng@gmail.com> - 2014-11-03 06:39 -0800
Re: support for boost::python for build double object Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-11-03 15:02 +0000
csiph-web