diff options
| author | kr.angelov <kr.angelov@gmail.com> | 2013-08-16 12:44:37 +0000 |
|---|---|---|
| committer | kr.angelov <kr.angelov@gmail.com> | 2013-08-16 12:44:37 +0000 |
| commit | 1e44fdb3d3413709ae635f0fae91ffa4a93a2d9d (patch) | |
| tree | 525687c815be70d86c7be23e61ba708746bbf725 /src/runtime/c/pgf/pgf.h | |
| parent | fc7e77bf50adaceeec2364fa88134b533f0da00f (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.h | 7 |
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); /// @} |
