#ifndef Py_XCODEOBJECT_H
#define Py_XCODEOBJECT_H
#ifdef __cplusplus
extern "C" {
#endif

typedef struct {
    PyObject_HEAD
    PyObject *(*co_xcode)(PyObject *, PyObject *);		/* instruction opcodes */
    int co_freevars;
} PyXCodeObject;

PyAPI_DATA(PyTypeObject) PyXCode_Type;

#define PyXCode_Check(op) ((op)->ob_type == &PyXCode_Type)

PyAPI_FUNC(PyXCodeObject *) PyXCode_New(void* pointer,int freevars);

#ifdef __cplusplus
}
#endif
#endif /* !Py_XCODEOBJECT_H */
