numpy  2.0.0
src/multiarray/usertypes.h
Go to the documentation of this file.
00001 #ifndef _NPY_PRIVATE_USERTYPES_H_
00002 #define _NPY_PRIVATE_USERTYPES_H_
00003 
00004 extern NPY_NO_EXPORT PyArray_Descr **userdescrs;
00005 
00006 NPY_NO_EXPORT void
00007 PyArray_InitArrFuncs(PyArray_ArrFuncs *f);
00008 
00009 NPY_NO_EXPORT int
00010 PyArray_RegisterCanCast(PyArray_Descr *descr, int totype,
00011                         NPY_SCALARKIND scalar);
00012 
00013 NPY_NO_EXPORT int
00014 PyArray_RegisterDataType(PyArray_Descr *descr);
00015 
00016 NPY_NO_EXPORT int
00017 PyArray_RegisterCastFunc(PyArray_Descr *descr, int totype,
00018                          PyArray_VectorUnaryFunc *castfunc);
00019 
00020 #endif