From 68a2f095904281308a51f0c1dcaf9df301dc62eb Mon Sep 17 00:00:00 2001 From: "kr.angelov" Date: Fri, 30 Jan 2015 13:05:57 +0000 Subject: added hasLinearization in the Haskell binding --- src/runtime/haskell-bind/PGF2/FFI.hs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/runtime/haskell-bind/PGF2') 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 () -- cgit v1.2.3