mirror of
https://github.com/BillyOutlast/posthog.git
synced 2026-02-05 03:31:25 +01:00
12 lines
285 B
C
12 lines
285 B
C
#define PY_SSIZE_T_CLEAN
|
|
#include <Python.h>
|
|
|
|
// MODULE STATE
|
|
|
|
// Module state, primarily for storing references to Python objects used throughout the parser (such as imports)
|
|
typedef struct {
|
|
PyObject* ast_module;
|
|
PyObject* base_module;
|
|
PyObject* errors_module;
|
|
} parser_state;
|