mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-24 03:52:50 -06:00
Expose PGF/Concr/Iter/Bracket
Expose the remaining types in the module. These are helpful for example in type annotations.
This commit is contained in:
@@ -3497,9 +3497,16 @@ MOD_INIT(pgf)
|
|||||||
PyModule_AddObject(m, "Type", (PyObject *) &pgf_TypeType);
|
PyModule_AddObject(m, "Type", (PyObject *) &pgf_TypeType);
|
||||||
Py_INCREF(&pgf_TypeType);
|
Py_INCREF(&pgf_TypeType);
|
||||||
|
|
||||||
|
PyModule_AddObject(m, "PGF", (PyObject *) &pgf_PGFType);
|
||||||
Py_INCREF(&pgf_PGFType);
|
Py_INCREF(&pgf_PGFType);
|
||||||
|
|
||||||
|
PyModule_AddObject(m, "Concr", (PyObject *) &pgf_ConcrType);
|
||||||
Py_INCREF(&pgf_ConcrType);
|
Py_INCREF(&pgf_ConcrType);
|
||||||
|
|
||||||
|
PyModule_AddObject(m, "Iter", (PyObject *) &pgf_IterType);
|
||||||
Py_INCREF(&pgf_IterType);
|
Py_INCREF(&pgf_IterType);
|
||||||
|
|
||||||
|
PyModule_AddObject(m, "Bracket", (PyObject *) &pgf_BracketType);
|
||||||
Py_INCREF(&pgf_BracketType);
|
Py_INCREF(&pgf_BracketType);
|
||||||
|
|
||||||
return MOD_SUCCESS_VAL(m);
|
return MOD_SUCCESS_VAL(m);
|
||||||
|
|||||||
Reference in New Issue
Block a user