code.h File Reference

Classes

struct  PyCodeObject
 
struct  _addr_pair
 

Macros

#define _Py_OPCODE(word)
 
#define _Py_OPARG(word)
 
#define CO_OPTIMIZED
 
#define CO_NEWLOCALS
 
#define CO_VARARGS
 
#define CO_VARKEYWORDS
 
#define CO_NESTED
 
#define CO_GENERATOR
 
#define CO_NOFREE
 
#define CO_COROUTINE
 
#define CO_ITERABLE_COROUTINE
 
#define CO_ASYNC_GENERATOR
 
#define CO_FUTURE_DIVISION
 
#define CO_FUTURE_ABSOLUTE_IMPORT
 
#define CO_FUTURE_WITH_STATEMENT
 
#define CO_FUTURE_PRINT_FUNCTION
 
#define CO_FUTURE_UNICODE_LITERALS
 
#define CO_FUTURE_BARRY_AS_BDFL
 
#define CO_FUTURE_GENERATOR_STOP
 
#define CO_FUTURE_ANNOTATIONS
 
#define CO_CELL_NOT_AN_ARG
 
#define PY_PARSER_REQUIRES_FUTURE_KEYWORD
 
#define CO_MAXBLOCKS
 
#define PyCode_Check(op)
 
#define PyCode_GetNumFree(op)
 

Typedefs

typedef uint16_t _Py_CODEUNIT
 
typedef struct _PyOpcache _PyOpcache
 
typedef struct _addr_pair PyAddrPair
 

Functions

 PyAPI_DATA (PyTypeObject) PyCode_Type
 
 PyAPI_FUNC (PyCodeObject *) PyCode_New(int
 
 PyAPI_FUNC (int) PyCode_Addr2Line(PyCodeObject *
 
 PyAPI_FUNC (PyObject *) _PyCode_ConstantKey(PyObject *obj)
 

Variables

 int
 
PyObject PyObject PyObject PyObject PyObject PyObject PyObject PyObject PyObject PyObject PyObject PyObject PyObject PyObject PyObject PyObject PyObject PyObject const char * funcname
 
PyObject PyObject PyObject PyObject PyObject PyObject PyObject PyObject PyObject PyObject PyObject PyObject PyObject PyObject PyObject PyObject PyObject PyObject const char int firstlineno
 
int lasti
 
int PyAddrPairbounds
 
PyObjectconsts
 
PyObject PyObjectnames
 
PyObject PyObject PyObjectlnotab
 
Py_ssize_t index
 
Py_ssize_t void ** extra
 

Macro Definition Documentation

◆ _Py_OPCODE

#define _Py_OPCODE (   word)

◆ _Py_OPARG

#define _Py_OPARG (   word)

◆ CO_OPTIMIZED

#define CO_OPTIMIZED

◆ CO_NEWLOCALS

#define CO_NEWLOCALS

◆ CO_VARARGS

#define CO_VARARGS

◆ CO_VARKEYWORDS

#define CO_VARKEYWORDS

◆ CO_NESTED

#define CO_NESTED

◆ CO_GENERATOR

#define CO_GENERATOR

◆ CO_NOFREE

#define CO_NOFREE

◆ CO_COROUTINE

#define CO_COROUTINE

◆ CO_ITERABLE_COROUTINE

#define CO_ITERABLE_COROUTINE

◆ CO_ASYNC_GENERATOR

#define CO_ASYNC_GENERATOR

◆ CO_FUTURE_DIVISION

#define CO_FUTURE_DIVISION

◆ CO_FUTURE_ABSOLUTE_IMPORT

#define CO_FUTURE_ABSOLUTE_IMPORT

◆ CO_FUTURE_WITH_STATEMENT

#define CO_FUTURE_WITH_STATEMENT

◆ CO_FUTURE_PRINT_FUNCTION

#define CO_FUTURE_PRINT_FUNCTION

◆ CO_FUTURE_UNICODE_LITERALS

#define CO_FUTURE_UNICODE_LITERALS

◆ CO_FUTURE_BARRY_AS_BDFL

#define CO_FUTURE_BARRY_AS_BDFL

◆ CO_FUTURE_GENERATOR_STOP

#define CO_FUTURE_GENERATOR_STOP

◆ CO_FUTURE_ANNOTATIONS

#define CO_FUTURE_ANNOTATIONS

◆ CO_CELL_NOT_AN_ARG

#define CO_CELL_NOT_AN_ARG

◆ PY_PARSER_REQUIRES_FUTURE_KEYWORD

#define PY_PARSER_REQUIRES_FUTURE_KEYWORD

◆ CO_MAXBLOCKS

#define CO_MAXBLOCKS

◆ PyCode_Check

#define PyCode_Check (   op)

◆ PyCode_GetNumFree

#define PyCode_GetNumFree (   op)

Typedef Documentation

◆ _Py_CODEUNIT

typedef uint16_t _Py_CODEUNIT

◆ _PyOpcache

typedef struct _PyOpcache _PyOpcache

◆ PyAddrPair

typedef struct _addr_pair PyAddrPair

Function Documentation

◆ PyAPI_DATA()

PyAPI_DATA ( PyTypeObject  )

◆ PyAPI_FUNC() [1/3]

PyAPI_FUNC ( PyCodeObject )

◆ PyAPI_FUNC() [2/3]

PyAPI_FUNC ( int  )

◆ PyAPI_FUNC() [3/3]

PyAPI_FUNC ( PyObject )

Variable Documentation

◆ int

int

◆ funcname

◆ firstlineno

◆ lasti

int lasti

◆ bounds

int PyAddrPair* bounds

◆ consts

PyObject* consts

◆ names

◆ lnotab

◆ index

Py_ssize_t index

◆ extra

Py_ssize_t void * extra