summaryrefslogtreecommitdiff
path: root/src/runtime/haskell-bind
diff options
context:
space:
mode:
authorKrasimir Angelov <kr.angelov@gmail.com>2017-09-04 14:58:59 +0200
committerKrasimir Angelov <kr.angelov@gmail.com>2017-09-04 14:58:59 +0200
commit08d781833cbe2474d12a54e059eebd6aa139d800 (patch)
tree2f390bec985ada23540dceb23ab1e0c9b008e1bc /src/runtime/haskell-bind
parent08d7997d05755496dadbe9194f05e04ea55a2ad6 (diff)
forgot to commit PGF2.FFI
Diffstat (limited to 'src/runtime/haskell-bind')
-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 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