Jeremy Hylton | 3e0055f | 2005-10-20 19:59:25 +0000 | [diff] [blame] | 1 | /* Definitions for bytecode */ |
| 2 | |
| 3 | #ifndef Py_CODE_H |
| 4 | #define Py_CODE_H |
| 5 | #ifdef __cplusplus |
| 6 | extern "C" { |
| 7 | #endif |
| 8 | |
Victor Stinner | b8f704d | 2020-04-28 17:07:12 +0200 | [diff] [blame] | 9 | typedef struct PyCodeObject PyCodeObject; |
Thomas Wouters | 49fd7fa | 2006-04-21 10:40:58 +0000 | [diff] [blame] | 10 | |
Victor Stinner | efb2413 | 2016-01-22 12:33:12 +0100 | [diff] [blame] | 11 | #ifndef Py_LIMITED_API |
Victor Stinner | b8f704d | 2020-04-28 17:07:12 +0200 | [diff] [blame] | 12 | # define Py_CPYTHON_CODE_H |
| 13 | # include "cpython/code.h" |
| 14 | # undef Py_CPYTHON_CODE_H |
Brett Cannon | 5c4de28 | 2016-09-07 11:16:41 -0700 | [diff] [blame] | 15 | #endif |
| 16 | |
Jeremy Hylton | 3e0055f | 2005-10-20 19:59:25 +0000 | [diff] [blame] | 17 | #ifdef __cplusplus |
| 18 | } |
| 19 | #endif |
| 20 | #endif /* !Py_CODE_H */ |