1 2 3 4 5 6 7 8 9 10 11 12 13
#include <Python.h> #include "hashmap.h" #pragma once typedef struct OPy OPy; struct OPy { Object proto; PyObject *obj; }; OPy *new_opy(PyObject *obj);