summaryrefslogtreecommitdiff
path: root/src/runtime/c/pgf/pgf.h
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.h
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.h')
-rw-r--r--src/runtime/c/pgf/pgf.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/runtime/c/pgf/pgf.h b/src/runtime/c/pgf/pgf.h
index bda70315e..fe86373cf 100644
--- a/src/runtime/c/pgf/pgf.h
+++ b/src/runtime/c/pgf/pgf.h
@@ -51,6 +51,7 @@ typedef struct PgfConcr PgfConcr;
#include <pgf/expr.h>
#include <pgf/lexer.h>
+#include <pgf/graphviz.h>
/// An enumeration of #PgfExpr elements.
typedef GuEnum PgfExprEnum;
@@ -126,15 +127,15 @@ pgf_parse_with_heuristics(PgfConcr* concr, PgfCId cat, PgfLexer *lexer,
GuPool* pool, GuPool* out_pool);
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);
bool
pgf_parseval(PgfConcr* concr, PgfExpr expr, PgfCId cat,
double *precision, double *recall, double *exact);
PgfExprEnum*
-pgf_generate(PgfPGF* pgf, PgfCId cat, GuPool* pool);
+pgf_generate_all(PgfPGF* pgf, PgfCId cat, GuPool* pool);
/// @}