summaryrefslogtreecommitdiff
path: root/src/runtime/c/pgf/pgf.c
diff options
context:
space:
mode:
authorkr.angelov <kr.angelov@gmail.com>2013-08-16 12:44:37 +0000
committerkr.angelov <kr.angelov@gmail.com>2013-08-16 12:44:37 +0000
commit1e44fdb3d3413709ae635f0fae91ffa4a93a2d9d (patch)
tree525687c815be70d86c7be23e61ba708746bbf725 /src/runtime/c/pgf/pgf.c
parentfc7e77bf50adaceeec2364fa88134b533f0da00f (diff)
fixes in the C and Python API to make them closer to the Haskell API
Diffstat (limited to 'src/runtime/c/pgf/pgf.c')
-rw-r--r--src/runtime/c/pgf/pgf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/c/pgf/pgf.c b/src/runtime/c/pgf/pgf.c
index 519dfea4a..dc2ed7290 100644
--- a/src/runtime/c/pgf/pgf.c
+++ b/src/runtime/c/pgf/pgf.c
@@ -254,8 +254,8 @@ pgf_parse_with_heuristics(PgfConcr* concr, PgfCId cat, PgfLexer *lexer,
}
GuEnum*
-pgf_get_completions(PgfConcr* concr, PgfCId cat, PgfLexer *lexer,
- GuString prefix, GuPool* pool)
+pgf_complete(PgfConcr* concr, PgfCId cat, PgfLexer *lexer,
+ GuString prefix, GuPool* pool)
{
// Begin parsing a sentence of the specified category
PgfParseState* state =