added PGF2.Internal.writePGF in the Haskell binding

This commit is contained in:
Krasimir Angelov
2017-09-13 10:32:39 +02:00
parent df992c31fd
commit 80b61f716c
2 changed files with 28 additions and 1 deletions

View File

@@ -213,6 +213,9 @@ type PgfBindType = (#type PgfBindType)
foreign import ccall "pgf/pgf.h pgf_read"
pgf_read :: CString -> Ptr GuPool -> Ptr GuExn -> IO (Ptr PgfPGF)
foreign import ccall "pgf/pgf.h pgf_write"
pgf_write :: Ptr PgfPGF -> CString -> Ptr GuExn -> IO ()
foreign import ccall "pgf/pgf.h pgf_abstract_name"
pgf_abstract_name :: Ptr PgfPGF -> IO CString