blob: b9e23eb816529b52143783c99885565cc3eb58d4 [file] [log] [blame]
Jeremy Hylton3e0055f2005-10-20 19:59:25 +00001/* Definitions for bytecode */
2
3#ifndef Py_CODE_H
4#define Py_CODE_H
5#ifdef __cplusplus
6extern "C" {
7#endif
8
Victor Stinnerb8f704d2020-04-28 17:07:12 +02009typedef struct PyCodeObject PyCodeObject;
Thomas Wouters49fd7fa2006-04-21 10:40:58 +000010
Victor Stinnerefb24132016-01-22 12:33:12 +010011#ifndef Py_LIMITED_API
Victor Stinnerb8f704d2020-04-28 17:07:12 +020012# define Py_CPYTHON_CODE_H
13# include "cpython/code.h"
14# undef Py_CPYTHON_CODE_H
Brett Cannon5c4de282016-09-07 11:16:41 -070015#endif
16
Jeremy Hylton3e0055f2005-10-20 19:59:25 +000017#ifdef __cplusplus
18}
19#endif
20#endif /* !Py_CODE_H */