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/c/pgf/pgf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/runtime/c/pgf/pgf.h') diff --git a/src/runtime/c/pgf/pgf.h b/src/runtime/c/pgf/pgf.h index e2fc6f74d..3e2e88006 100644 --- a/src/runtime/c/pgf/pgf.h +++ b/src/runtime/c/pgf/pgf.h @@ -150,11 +150,11 @@ pgf_complete(PgfConcr* concr, PgfCId cat, GuString string, typedef struct PgfLiteralCallback PgfLiteralCallback; struct PgfLiteralCallback { - PgfExprProb* (*match)(PgfLiteralCallback* self, + PgfExprProb* (*match)(PgfLiteralCallback* self, PgfConcr* concr, size_t lin_idx, GuString sentence, size_t* poffset, GuPool *out_pool); - GuEnum* (*predict)(PgfLiteralCallback* self, + GuEnum* (*predict)(PgfLiteralCallback* self, PgfConcr* concr, size_t lin_idx, GuString prefix, GuPool *out_pool); -- cgit v1.2.3