From ce0546536588d5debe82770ef6bcf1efff6682f6 Mon Sep 17 00:00:00 2001 From: krasimir Date: Mon, 18 May 2015 14:41:33 +0000 Subject: the callbacks in C now take the concrete syntax as a parameter --- src/runtime/python/pypgf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/runtime/python/pypgf.c') diff --git a/src/runtime/python/pypgf.c b/src/runtime/python/pypgf.c index add31fc8e..cd4d2d26d 100644 --- a/src/runtime/python/pypgf.c +++ b/src/runtime/python/pypgf.c @@ -1202,7 +1202,7 @@ typedef struct { } PyPgfLiteralCallback; static PgfExprProb* -pypgf_literal_callback_match(PgfLiteralCallback* self, +pypgf_literal_callback_match(PgfLiteralCallback* self, PgfConcr* concr, size_t lin_idx, GuString sentence, size_t* poffset, GuPool *out_pool) @@ -1264,7 +1264,7 @@ pypgf_literal_callback_match(PgfLiteralCallback* self, } static GuEnum* -pypgf_literal_callback_predict(PgfLiteralCallback* self, +pypgf_literal_callback_predict(PgfLiteralCallback* self, PgfConcr* concr, size_t lin_idx, GuString prefix, GuPool *out_pool) -- cgit v1.2.3