From add8c83d934ac2d45249a37947a1e96ec6dc5326 Mon Sep 17 00:00:00 2001 From: krasimir Date: Mon, 27 Apr 2015 18:24:21 +0000 Subject: [PATCH] mark two more functions as static in the Python binding --- src/runtime/python/pypgf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/runtime/python/pypgf.c b/src/runtime/python/pypgf.c index 470592139..11383f16c 100644 --- a/src/runtime/python/pypgf.c +++ b/src/runtime/python/pypgf.c @@ -995,7 +995,7 @@ typedef struct IterObject { PyObject* (*fetch)(struct IterObject* self); } IterObject; -PyObject* +static PyObject* Iter_fetch_expr(IterObject* self) { PgfExprProb* ep = gu_next(self->res, PgfExprProb*, self->pool); @@ -1016,7 +1016,7 @@ Iter_fetch_expr(IterObject* self) return res; } -PyObject* +static PyObject* Iter_fetch_token(IterObject* self) { PgfTokenProb* tp = gu_next(self->res, PgfTokenProb*, self->pool);