From 08d781833cbe2474d12a54e059eebd6aa139d800 Mon Sep 17 00:00:00 2001 From: Krasimir Angelov Date: Mon, 4 Sep 2017 14:58:59 +0200 Subject: [PATCH] forgot to commit PGF2.FFI --- src/runtime/haskell-bind/PGF2/FFI.hs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/runtime/haskell-bind/PGF2/FFI.hs b/src/runtime/haskell-bind/PGF2/FFI.hs index f25e52edf..3870e2fba 100644 --- a/src/runtime/haskell-bind/PGF2/FFI.hs +++ b/src/runtime/haskell-bind/PGF2/FFI.hs @@ -325,6 +325,9 @@ foreign import ccall "pgf/pgf.h pgf_expr_unlit" foreign import ccall "pgf/expr.h pgf_expr_arity" pgf_expr_arity :: PgfExpr -> IO CInt +foreign import ccall "pgf/expr.h pgf_expr_eq" + pgf_expr_eq :: PgfExpr -> PgfExpr -> IO CInt + foreign import ccall "pgf/expr.h pgf_compute_tree_probability" pgf_compute_tree_probability :: Ptr PgfPGF -> PgfExpr -> IO CFloat