summaryrefslogtreecommitdiff
path: root/src/runtime/haskell-bind/PGF2
diff options
context:
space:
mode:
authorkr.angelov <kr.angelov@gmail.com>2015-01-30 13:05:57 +0000
committerkr.angelov <kr.angelov@gmail.com>2015-01-30 13:05:57 +0000
commit68a2f095904281308a51f0c1dcaf9df301dc62eb (patch)
tree7d6bb0f45cd238398b46224c4886e0ffc87de29b /src/runtime/haskell-bind/PGF2
parent340328b8a18d7533444f3d4957c5c3644ca1975e (diff)
added hasLinearization in the Haskell binding
Diffstat (limited to 'src/runtime/haskell-bind/PGF2')
-rw-r--r--src/runtime/haskell-bind/PGF2/FFI.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/runtime/haskell-bind/PGF2/FFI.hs b/src/runtime/haskell-bind/PGF2/FFI.hs
index f36fa1368..9de76fb51 100644
--- a/src/runtime/haskell-bind/PGF2/FFI.hs
+++ b/src/runtime/haskell-bind/PGF2/FFI.hs
@@ -133,6 +133,9 @@ foreign import ccall "pgf/pgf.h pgf_function_type"
foreign import ccall "pgf/pgf.h pgf_print_name"
pgf_print_name :: Ptr PgfConcr -> CString -> IO CString
+foreign import ccall "pgf/pgf.h pgf_has_linearization"
+ pgf_has_linearization :: Ptr PgfConcr -> CString -> IO Bool
+
foreign import ccall "pgf/pgf.h pgf_linearize"
pgf_linearize :: Ptr PgfConcr -> PgfExpr -> Ptr GuOut -> Ptr GuExn -> IO ()