Fix header inclusion order in c.h.
[pgsql.git] / src / pl / plpython / plpy_planobject.h
blob729effb1631daafd2d9cb9caf738f64054ae0c41
1 /*
2 * src/pl/plpython/plpy_planobject.h
3 */
5 #ifndef PLPY_PLANOBJECT_H
6 #define PLPY_PLANOBJECT_H
8 #include "executor/spi.h"
9 #include "plpy_typeio.h"
12 typedef struct PLyPlanObject
14 PyObject_HEAD
15 SPIPlanPtr plan;
16 int nargs;
17 Oid *types;
18 Datum *values;
19 PLyObToDatum *args;
20 MemoryContext mcxt;
21 } PLyPlanObject;
23 extern void PLy_plan_init_type(void);
24 extern PyObject *PLy_plan_new(void);
25 extern bool is_PLyPlanObject(PyObject *ob);
27 #endif /* PLPY_PLANOBJECT_H */