added API for reading a list of tuples in the SG module

This commit is contained in:
krasimir
2015-12-22 13:50:01 +00:00
parent 028de0468b
commit 8dda2dfbff
4 changed files with 105 additions and 7 deletions

View File

@@ -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 ()