From d83316d7c64dfd374f39c002b7e4640e20398c62 Mon Sep 17 00:00:00 2001 From: krasimir Date: Tue, 8 Sep 2015 13:04:31 +0000 Subject: add readTriple in the Haskell binding --- src/runtime/haskell-bind/PGF2/FFI.hs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/runtime/haskell-bind/PGF2') 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 () -- cgit v1.2.3