Update the C bindings to build with the current PGF API

This commit is contained in:
kevin.kofler
2010-05-16 21:09:51 +00:00
parent 218beec02c
commit 2e6512e3fd
4 changed files with 94 additions and 95 deletions

View File

@@ -32,7 +32,7 @@ int main(int argc, char *argv[])
GF_Tree *p = result;
if (*p) {
do {
char *str = gf_showTree(*(p++));
char *str = gf_showExpr(*(p++));
puts(str);
free(str);
} while (*p);