diff options
| author | krasimir <krasimir@chalmers.se> | 2017-04-19 09:45:15 +0000 |
|---|---|---|
| committer | krasimir <krasimir@chalmers.se> | 2017-04-19 09:45:15 +0000 |
| commit | 33ec916c9c8a7656583ef31947c5ff81b029d3a7 (patch) | |
| tree | f17f4d3818300a3752e4f05f4da3e7473101e66a /src/runtime | |
| parent | 7b0e1b164c252339843653619cf3a0cbedb64ae6 (diff) | |
make some of the functions in the Python binding static
Diffstat (limited to 'src/runtime')
| -rw-r--r-- | src/runtime/python/pypgf.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/runtime/python/pypgf.c b/src/runtime/python/pypgf.c index 6865092e0..c25a4e1e6 100644 --- a/src/runtime/python/pypgf.c +++ b/src/runtime/python/pypgf.c @@ -146,7 +146,7 @@ Expr_repr(ExprObject *self) return pystr; } -PyObject * +static PyObject * Expr_richcompare(ExprObject *e1, ExprObject *e2, int op) { bool cmp = pgf_expr_eq(e1->expr,e2->expr); @@ -889,7 +889,7 @@ Type_repr(TypeObject *self) return pystr; } -PyObject * +static PyObject * Type_richcompare(TypeObject *t1, TypeObject *t2, int op) { bool cmp = pgf_type_eq(t1->type,t2->type); @@ -1321,7 +1321,7 @@ Concr_printName(ConcrObject* self, PyObject *args) #define PGF_CONTAINER_NAME "pgf.Container" -void pypgf_container_descructor(PyObject *capsule) +static void pypgf_container_descructor(PyObject *capsule) { GuPool* pool = PyCapsule_GetPointer(capsule, PGF_CONTAINER_NAME); gu_pool_free(pool); @@ -2291,7 +2291,7 @@ Concr_lookupMorpho(ConcrObject* self, PyObject *args) { return analyses; } -PyObject* +static PyObject* Iter_fetch_fullform(IterObject* self) { PgfFullFormEntry* entry = |
