First attempts at marshalling in Python bindings, not really sure what I'm doing

This commit is contained in:
John J. Camilleri
2021-09-06 15:32:18 +02:00
parent d58c744361
commit b7cddf206b
4 changed files with 57 additions and 22 deletions

View File

@@ -18,7 +18,7 @@
// #define PyInt_AsUnsignedLongLongMask PyLong_AsUnsignedLongLongMask
#define PyStringObject PyUnicodeObject
// #define PyString_Check PyUnicode_Check
#define PyString_Check PyUnicode_Check
#define PyString_FromStringAndSize PyUnicode_FromStringAndSize
// #define PyString_FromFormat PyUnicode_FromFormat
// #define PyString_Concat(ps,s) {PyObject* tmp = *(ps); *(ps) = PyUnicode_Concat(tmp,s); Py_DECREF(tmp);}