added startCat

This commit is contained in:
krangelov
2021-08-12 12:39:05 +02:00
parent 01db0224be
commit 39f38ed0e2
5 changed files with 59 additions and 5 deletions

View File

@@ -63,6 +63,9 @@ foreign import ccall "wrapper"
foreign import ccall "pgf_iter_categories"
pgf_iter_categories :: Ptr PgfPGF -> Ptr PgfItor -> IO ()
foreign import ccall "pgf_start_cat"
pgf_start_cat :: Ptr PgfPGF -> IO (StablePtr Type)
foreign import ccall "pgf/pgf.h pgf_category_context"
pgf_category_context :: Ptr PgfPGF -> Ptr PgfText -> Ptr CSize -> IO (Ptr PgfTypeHypo)