Add and pass all the abstraction test cases. Some header cleanup.

This commit is contained in:
John J. Camilleri
2021-09-16 15:38:02 +02:00
parent b393efff59
commit a8bda009a4
7 changed files with 48 additions and 50 deletions

View File

@@ -1,17 +1,15 @@
#ifndef PYPGF_MARSHALLER_H_
#define PYPGF_MARSHALLER_H_
// #define PY_SSIZE_T_CLEAN
// #include <Python.h>
#define PY_SSIZE_T_CLEAN
#include <Python.h>
#include <pgf/pgf.h>
PgfText *PyUnicode_AsPgfText(PyObject *pystr);
PyObject *PyUnicode_FromPgfText(PgfText *text);
extern PgfUnmarshaller unmarshaller;
extern PgfMarshaller marshaller;
#endif // PYPGF_MARSHALLER_H_