mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -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 */
|
||||
};
|
||||
|
||||
PyAPI_FUNC(int) _PyImport_SetModule(PyObject *name, PyObject *module);
|
||||
|
||||
static PyObject*
|
||||
PGF_embed(PGFObject* self, PyObject *modname)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user