diff options
| author | krasimir <krasimir@chalmers.se> | 2015-12-22 13:50:01 +0000 |
|---|---|---|
| committer | krasimir <krasimir@chalmers.se> | 2015-12-22 13:50:01 +0000 |
| commit | 8dda2dfbff01e8211124cd5ecbcf6ea4a1f3da68 (patch) | |
| tree | dea089e7b25a7fc03da775d5a31e880566b9b0b2 /src/runtime/haskell-bind/PGF2 | |
| parent | 028de0468bbab231b5fad3a4a1a28d91f26c747f (diff) | |
added API for reading a list of tuples in the SG module
Diffstat (limited to 'src/runtime/haskell-bind/PGF2')
| -rw-r--r-- | src/runtime/haskell-bind/PGF2/FFI.hs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/runtime/haskell-bind/PGF2/FFI.hs b/src/runtime/haskell-bind/PGF2/FFI.hs index ee26214c7..fc658d83d 100644 --- a/src/runtime/haskell-bind/PGF2/FFI.hs +++ b/src/runtime/haskell-bind/PGF2/FFI.hs @@ -237,6 +237,9 @@ foreign import ccall "pgf/expr.h pgf_read_expr" 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/expr.h pgf_read_expr_matrix" + pgf_read_expr_matrix :: Ptr GuIn -> CInt -> Ptr GuPool -> Ptr GuExn -> IO (Ptr GuSeq) + foreign import ccall "pgf/graphviz.h pgf_graphviz_abstract_tree" pgf_graphviz_abstract_tree :: Ptr PgfPGF -> PgfExpr -> Ptr GuOut -> Ptr GuExn -> IO () |
