diff options
| author | krasimir <krasimir@chalmers.se> | 2015-09-08 13:04:31 +0000 |
|---|---|---|
| committer | krasimir <krasimir@chalmers.se> | 2015-09-08 13:04:31 +0000 |
| commit | d83316d7c64dfd374f39c002b7e4640e20398c62 (patch) | |
| tree | d72272797bde16091483fa7282ad527f1be95ecd /src/runtime/haskell-bind/PGF2 | |
| parent | b5e7f08c8269e6c4b9a648d12b734fbec0c98116 (diff) | |
add readTriple in the Haskell binding
Diffstat (limited to 'src/runtime/haskell-bind/PGF2')
| -rw-r--r-- | src/runtime/haskell-bind/PGF2/FFI.hs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/runtime/haskell-bind/PGF2/FFI.hs b/src/runtime/haskell-bind/PGF2/FFI.hs index 96b3eea35..15001c2c9 100644 --- a/src/runtime/haskell-bind/PGF2/FFI.hs +++ b/src/runtime/haskell-bind/PGF2/FFI.hs @@ -222,6 +222,8 @@ foreign import ccall "pgf/pgf.h pgf_print" foreign import ccall "pgf/expr.h pgf_read_expr" pgf_read_expr :: Ptr GuIn -> Ptr GuPool -> Ptr GuExn -> IO PgfExpr +foreign import ccall "pgf/expr.h pgf_read_expr_tuple" + pgf_read_expr_tuple :: Ptr GuIn -> CInt -> Ptr PgfExpr -> Ptr GuPool -> Ptr GuExn -> IO CInt foreign import ccall "pgf/graphviz.h pgf_graphviz_abstract_tree" pgf_graphviz_abstract_tree :: Ptr PgfPGF -> PgfExpr -> Ptr GuOut -> Ptr GuExn -> IO () |
