diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2014-03-01 21:08:21 -0700 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2014-03-01 21:08:21 -0700 |
commit | e98811675a61def0fcf255c6994df874a3dd55ea (patch) | |
tree | 3f886a3cf8ffc5b146d07d3fdc358596fb38dfc1 /doc/cython/c_python.pxd | |
parent | 52bac2cb96fa1ed5cb811303ad5ef402d74e76df (diff) | |
download | numpy-e98811675a61def0fcf255c6994df874a3dd55ea.tar.gz |
MAINT: Remove doc/cython and doc/pyrex files.
Pyrex is obsolete and cython does a good job with Numpy these days.
These directories are not packages, so I don't think they need
deprecation.
Closes #4373.
Diffstat (limited to 'doc/cython/c_python.pxd')
-rw-r--r-- | doc/cython/c_python.pxd | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/doc/cython/c_python.pxd b/doc/cython/c_python.pxd deleted file mode 100644 index 46d2fd1a7..000000000 --- a/doc/cython/c_python.pxd +++ /dev/null @@ -1,62 +0,0 @@ -# :Author: Robert Kern -# :Copyright: 2004, Enthought, Inc. -# :License: BSD Style - - -cdef extern from "Python.h": - # Not part of the Python API, but we might as well define it here. - # Note that the exact type doesn't actually matter for Pyrex. - ctypedef int size_t - - # Some type declarations we need - ctypedef int Py_intptr_t - - - # String API - char* PyString_AsString(object string) - char* PyString_AS_STRING(object string) - object PyString_FromString(char* c_string) - object PyString_FromStringAndSize(char* c_string, int length) - object PyString_InternFromString(char *v) - - # Float API - object PyFloat_FromDouble(double v) - double PyFloat_AsDouble(object ob) - long PyInt_AsLong(object ob) - - - # Memory API - void* PyMem_Malloc(size_t n) - void* PyMem_Realloc(void* buf, size_t n) - void PyMem_Free(void* buf) - - void Py_DECREF(object obj) - void Py_XDECREF(object obj) - void Py_INCREF(object obj) - void Py_XINCREF(object obj) - - # CObject API - ctypedef void (*destructor1)(void* cobj) - ctypedef void (*destructor2)(void* cobj, void* desc) - int PyCObject_Check(object p) - object PyCObject_FromVoidPtr(void* cobj, destructor1 destr) - object PyCObject_FromVoidPtrAndDesc(void* cobj, void* desc, - destructor2 destr) - void* PyCObject_AsVoidPtr(object self) - void* PyCObject_GetDesc(object self) - int PyCObject_SetVoidPtr(object self, void* cobj) - - # TypeCheck API - int PyFloat_Check(object obj) - int PyInt_Check(object obj) - - # Error API - int PyErr_Occurred() - void PyErr_Clear() - int PyErr_CheckSignals() - -cdef extern from "string.h": - void *memcpy(void *s1, void *s2, int n) - -cdef extern from "math.h": - double fabs(double x) |