1
0
forked from GitHub/gf-core

add unStr,unInt and unFloat in the Haskell binding

This commit is contained in:
krasimir
2017-01-26 06:40:13 +00:00
parent 00f15826af
commit 4442e302e6
3 changed files with 34 additions and 1 deletions

View File

@@ -266,6 +266,9 @@ foreign import ccall "pgf/pgf.h pgf_expr_int"
foreign import ccall "pgf/pgf.h pgf_expr_float"
pgf_expr_float :: CDouble -> Ptr GuPool -> IO PgfExpr
foreign import ccall "pgf/pgf.h pgf_expr_unlit"
pgf_expr_unlit :: PgfExpr -> CInt -> IO (Ptr a)
foreign import ccall "pgf/pgf.h pgf_expr_unapply"
pgf_expr_unapply :: PgfExpr -> Ptr GuPool -> IO (Ptr PgfApplication)