summaryrefslogtreecommitdiff
path: root/src/runtime/python
diff options
context:
space:
mode:
authorkrasimir <krasimir@chalmers.se>2015-05-18 14:41:33 +0000
committerkrasimir <krasimir@chalmers.se>2015-05-18 14:41:33 +0000
commitce0546536588d5debe82770ef6bcf1efff6682f6 (patch)
treec5158848e0a68d8cfadd208356e44ccfd38becfa /src/runtime/python
parent773a33979b8504a93a77f6581b3a1b0a0ed6c5ab (diff)
the callbacks in C now take the concrete syntax as a parameter
Diffstat (limited to 'src/runtime/python')
-rw-r--r--src/runtime/python/pypgf.c4
1 files changed, 2 insertions, 2 deletions
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)