| 1 | /* The idea of this file is that you bundle it with your extension,
|
|---|
| 2 | #include it, program to Python 2.3's memory API and have your
|
|---|
| 3 | extension build with any version of Python from 1.5.2 through to
|
|---|
| 4 | 2.3 (and hopefully beyond). */
|
|---|
| 5 |
|
|---|
| 6 | #ifndef Py_PYMEMCOMPAT_H
|
|---|
| 7 | #define Py_PYMEMCOMPAT_H
|
|---|
| 8 |
|
|---|
| 9 | #include "Python.h"
|
|---|
| 10 |
|
|---|
| 11 | /* There are three "families" of memory API: the "raw memory", "object
|
|---|
| 12 | memory" and "object" families. (This is ignoring the matter of the
|
|---|
| 13 | cycle collector, about which more is said below).
|
|---|
| 14 |
|
|---|
|
|---|