D | ctypes.h | 28 #define CTYPES_CHECK(exc, t) \ argument 30 if (!(t)) return (exc) ? PyErr_Format(PyExc_TypeError, exc) : NULL; \ 38 #define to_scalar(obj, t, ptr) \ argument 39 __to_scalar(obj, t, (void *)(ptr)) 41 #define to_1d_ptr(obj, t, n, ptr) \ argument 42 __to_1d_ptr(obj, t, n, (void **)(ptr)) 44 #define to_2d_ptr(obj, t, n1, n2, ptr) \ argument 45 __to_2d_ptr(obj, t, n1, n2, (void **)(ptr)) 47 #define to_1d_copy(obj, t, ptr, n) \ argument 48 __to_1d_copy(obj, t, ptr, n) [all …]
|