summaryrefslogtreecommitdiff
path: root/doc/pyrex/c_python.pxd
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2014-03-01 21:08:21 -0700
committerCharles Harris <charlesr.harris@gmail.com>2014-03-01 21:08:21 -0700
commite98811675a61def0fcf255c6994df874a3dd55ea (patch)
tree3f886a3cf8ffc5b146d07d3fdc358596fb38dfc1 /doc/pyrex/c_python.pxd
parent52bac2cb96fa1ed5cb811303ad5ef402d74e76df (diff)
downloadnumpy-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/pyrex/c_python.pxd')
-rw-r--r--doc/pyrex/c_python.pxd20
1 files changed, 0 insertions, 20 deletions
diff --git a/doc/pyrex/c_python.pxd b/doc/pyrex/c_python.pxd
deleted file mode 100644
index 53f6d9b19..000000000
--- a/doc/pyrex/c_python.pxd
+++ /dev/null
@@ -1,20 +0,0 @@
-# -*- Mode: Python -*- Not really, but close enough
-
-# Expose as much of the Python C API as we need here
-
-cdef extern from "stdlib.h":
- ctypedef int size_t
-
-cdef extern from "Python.h":
- ctypedef int Py_intptr_t
- void* PyMem_Malloc(size_t)
- void* PyMem_Realloc(void *p, size_t n)
- void PyMem_Free(void *p)
- char* PyString_AsString(object string)
- object PyString_FromString(char *v)
- object PyString_InternFromString(char *v)
- int PyErr_CheckSignals()
- object PyFloat_FromDouble(double v)
- void Py_XINCREF(object o)
- void Py_XDECREF(object o)
- void Py_CLEAR(object o) # use instead of decref