summaryrefslogtreecommitdiff
path: root/src/runtime/c/pgf/pgf.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/c/pgf/pgf.h')
-rw-r--r--src/runtime/c/pgf/pgf.h4
1 files changed, 2 insertions, 2 deletions
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);