mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-25 18:58:56 -06:00
try fix the compilation for Python 3.6
This commit is contained in:
@@ -1040,6 +1040,8 @@ static PyTypeObject pgf_EmbeddedGrammarType = {
|
|||||||
0, /*tp_new */
|
0, /*tp_new */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
PyAPI_FUNC(int) _PyImport_SetModule(PyObject *name, PyObject *module);
|
||||||
|
|
||||||
static PyObject*
|
static PyObject*
|
||||||
PGF_embed(PGFObject* self, PyObject *modname)
|
PGF_embed(PGFObject* self, PyObject *modname)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user