Now that I have my user-defined type, I want to add some funcs.
According to the numpy book, I need to use:

PyUFunc_RegisterLoopForType

The book says I first need a ufunc.  The only way I see to create one is

PyUFunc_FromFuncAndData.

Is the the correct procedure?

I wonder, because PyUFunc_FromFuncAndData requires 'type', and 'type' is
char, but user-defined types start at 256, which doesn't fit in a char,
which gives a compile warning.

_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to