1
0
forked from GitHub/gf-core

added mkMeta and unMeta in the Haskell binding

This commit is contained in:
krasimir
2017-01-26 10:17:02 +00:00
parent 47a4363d07
commit 06450249e3
5 changed files with 102 additions and 1 deletions

View File

@@ -266,6 +266,12 @@ foreign import ccall "pgf/pgf.h pgf_expr_abs"
foreign import ccall "pgf/pgf.h pgf_expr_unabs"
pgf_expr_unabs :: PgfExpr -> IO (Ptr a)
foreign import ccall "pgf/pgf.h pgf_expr_meta"
pgf_expr_meta :: CInt -> Ptr GuPool -> IO PgfExpr
foreign import ccall "pgf/pgf.h pgf_expr_unmeta"
pgf_expr_unmeta :: PgfExpr -> IO (Ptr a)
foreign import ccall "pgf/pgf.h pgf_expr_string"
pgf_expr_string :: CString -> Ptr GuPool -> IO PgfExpr