bugfix in the FFI for pgf_function_prob

This commit is contained in:
krangelov
2021-09-06 19:25:56 +02:00
parent 691d3389f7
commit 29557ae61e

View File

@@ -105,7 +105,7 @@ foreign import ccall "pgf/pgf.h pgf_function_type"
foreign import ccall "pgf/expr.h pgf_function_is_constructor"
pgf_function_is_constructor :: Ptr PgfDB -> Ptr PgfRevision -> Ptr PgfText -> IO (#type int)
foreign import ccall "pgf/expr.h pgf_function_is_constructor"
foreign import ccall "pgf_function_prob"
pgf_function_prob :: Ptr PgfDB -> Ptr PgfRevision -> Ptr PgfText -> IO (#type prob_t)
foreign import ccall "pgf_create_function"