[C++-sig] Manual converter numpy.int32 -> double

2009-05-12 Thread Bruce Sherwood
from_python_storage*) //data)->storage.bytes; //*(double*)(storage) = py::extract(newobj); double* storage = (double*)( (py::converter::rvalue_from_python_storage*) data)->storage.bytes; *storage = py::extract(newobj); Py_DECREF(newobj); data->conver

[C++-sig] numpy.int32 -> double?

2009-04-28 Thread Bruce Sherwood
2.5 and am using Boost 1.38 with Python 2.6. Any ideas or suggestions? Thanks. Bruce Sherwood ___ Cplusplus-sig mailing list Cplusplus-sig@python.org http://mail.python.org/mailman/listinfo/cplusplus-sig