summaryrefslogtreecommitdiff
path: root/src/runtime/c/pgf/parser.h
diff options
context:
space:
mode:
authorkr.angelov <kr.angelov@gmail.com>2013-05-01 06:09:55 +0000
committerkr.angelov <kr.angelov@gmail.com>2013-05-01 06:09:55 +0000
commit22f44ef61f99acdec5d19f336bb80f6bb3a4e8b7 (patch)
tree4ee1496edc1c5df1b11464ce8425071c3ef11994 /src/runtime/c/pgf/parser.h
parent41bccf5737544a6981dc6a17bb4bb8116ace7937 (diff)
word completion in the C runtime. The runtime/python/test.py example is now using readline with word completion
Diffstat (limited to 'src/runtime/c/pgf/parser.h')
-rw-r--r--src/runtime/c/pgf/parser.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/runtime/c/pgf/parser.h b/src/runtime/c/pgf/parser.h
index 8c9839298..9fae0a565 100644
--- a/src/runtime/c/pgf/parser.h
+++ b/src/runtime/c/pgf/parser.h
@@ -66,6 +66,10 @@ pgf_parser_next_state(PgfParseState* prev, PgfToken tok);
* the pool used to create \parse.
*/
+GuEnum*
+pgf_parser_completions(PgfParseState* prev, GuString prefix,
+ GuPool* pool);
+
void
pgf_parser_set_beam_size(PgfParseState* state, double beam_size);