numpy
2.0.0
|
00001 #ifndef _NPY_PRIVATE_USERTYPES_H_ 00002 #define _NPY_PRIVATE_USERTYPES_H_ 00003 00004 #ifdef NPY_ENABLE_SEPARATE_COMPILATION 00005 extern NPY_NO_EXPORT PyArray_Descr **userdescrs; 00006 #else 00007 NPY_NO_EXPORT PyArray_Descr **userdescrs; 00008 #endif 00009 00010 NPY_NO_EXPORT void 00011 PyArray_InitArrFuncs(PyArray_ArrFuncs *f); 00012 00013 NPY_NO_EXPORT int 00014 PyArray_RegisterCanCast(PyArray_Descr *descr, int totype, 00015 NPY_SCALARKIND scalar); 00016 00017 NPY_NO_EXPORT int 00018 PyArray_RegisterDataType(PyArray_Descr *descr); 00019 00020 NPY_NO_EXPORT int 00021 PyArray_RegisterCastFunc(PyArray_Descr *descr, int totype, 00022 PyArray_VectorUnaryFunc *castfunc); 00023 00024 #endif