summaryrefslogtreecommitdiff
path: root/src/runtime/c/pgf/data.h
diff options
context:
space:
mode:
authorKrasimir Angelov <kr.angelov@gmail.com>2017-09-14 18:11:24 +0200
committerKrasimir Angelov <kr.angelov@gmail.com>2017-09-14 18:11:24 +0200
commitbcb97a336e56fa28c4f0061602e355a3ef5abaf6 (patch)
tree205b8caefa56d575c87cbf5bc4e88a8888a1c478 /src/runtime/c/pgf/data.h
parent0d42eed7b6806d6c58f39c65c924546f2a07cbe0 (diff)
make the API for indexing in the parser and the linearizer public since it will be needed in the Haskell binding
Diffstat (limited to 'src/runtime/c/pgf/data.h')
-rw-r--r--src/runtime/c/pgf/data.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/runtime/c/pgf/data.h b/src/runtime/c/pgf/data.h
index 83aff155f..45689dd11 100644
--- a/src/runtime/c/pgf/data.h
+++ b/src/runtime/c/pgf/data.h
@@ -351,4 +351,16 @@ struct PgfCCat {
GuFinalizer fin[0];
};
+PGF_API_DECL void
+pgf_parser_index(PgfConcr* concr,
+ PgfCCat* ccat, PgfProduction prod,
+ bool is_lexical,
+ GuPool *pool);
+
+PGF_API_DECL void
+pgf_lzr_index(PgfConcr* concr,
+ PgfCCat* ccat, PgfProduction prod,
+ bool is_lexical,
+ GuPool *pool);
+
#endif