[pypy-commit] pypy py3.5: Add #defines for the PyMem_Raw family of functions
rlamy
pypy.commits at gmail.com
Tue Jan 24 11:31:23 EST 2017
Author: Ronan Lamy <ronan.lamy at gmail.com>
Branch: py3.5
Changeset: r89747:ecc2c1ad70a9
Date: 2017-01-24 16:29 +0000
http://bitbucket.org/pypy/pypy/changeset/ecc2c1ad70a9/
Log: Add #defines for the PyMem_Raw family of functions
diff --git a/pypy/module/cpyext/include/pymem.h b/pypy/module/cpyext/include/pymem.h
--- a/pypy/module/cpyext/include/pymem.h
+++ b/pypy/module/cpyext/include/pymem.h
@@ -15,6 +15,10 @@
#define PyMem_Free PyMem_FREE
#define PyMem_Realloc PyMem_REALLOC
+#define PyMem_RawMalloc PyMem_Malloc
+#define PyMem_RawFree PyMem_Free
+#define PyMem_RawRealloc PyMem_Realloc
+
/*
* Type-oriented memory interface
* ==============================
More information about the pypy-commit
mailing list