Hi,
I have a C library using "long double" numbers. With SWIG, I am able to use this library in Python. I use the PyArray_FromDims function in the SWIG "interface" file.
But sometimes, I only need one long double : it's not very convenient to create an array for only one number...
In Python there is "numpy.longdouble". Did you know how to create this object in C in the SWIG "interface" file ? (maybe the PyLongDoubleScalarObject structure ?)
Thank you
Charles