diff options
author | Benjamin Peterson <benjamin@python.org> | 2009-05-09 18:10:51 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2009-05-09 18:10:51 (GMT) |
commit | 8bc5b681599b66887f69ca54631d6e1ce4894252 (patch) | |
tree | 0faf1412a3f8470e37e1cc7476b5ba573769ae9a /Include | |
parent | c3491d310f1777eacb8faf245c50652a0a36a706 (diff) | |
download | cpython-8bc5b681599b66887f69ca54631d6e1ce4894252.zip cpython-8bc5b681599b66887f69ca54631d6e1ce4894252.tar.gz cpython-8bc5b681599b66887f69ca54631d6e1ce4894252.tar.bz2 |
these builtins have to be initialized
Diffstat (limited to 'Include')
-rw-r--r-- | Include/Python.h | 1 | ||||
-rw-r--r-- | Include/bltinmodule.h | 14 |
2 files changed, 15 insertions, 0 deletions
diff --git a/Include/Python.h b/Include/Python.h index 969ef0f..5c6e1f2 100644 --- a/Include/Python.h +++ b/Include/Python.h @@ -113,6 +113,7 @@ #include "import.h" #include "abstract.h" +#include "bltinmodule.h" #include "compile.h" #include "eval.h" diff --git a/Include/bltinmodule.h b/Include/bltinmodule.h new file mode 100644 index 0000000..868c9e6 --- /dev/null +++ b/Include/bltinmodule.h @@ -0,0 +1,14 @@ +#ifndef Py_BLTINMODULE_H +#define Py_BLTINMODULE_H +#ifdef __cplusplus +extern "C" { +#endif + +PyAPI_DATA(PyTypeObject) PyFilter_Type; +PyAPI_DATA(PyTypeObject) PyMap_Type; +PyAPI_DATA(PyTypeObject) PyZip_Type; + +#ifdef __cplusplus +} +#endif +#endif /* !Py_BLTINMODULE_H */ |