From 29557ae61e2348f07d1e296a632593b27f995962 Mon Sep 17 00:00:00 2001 From: krangelov Date: Mon, 6 Sep 2021 19:25:56 +0200 Subject: [PATCH] bugfix in the FFI for pgf_function_prob --- src/runtime/haskell/PGF2/FFI.hsc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/haskell/PGF2/FFI.hsc b/src/runtime/haskell/PGF2/FFI.hsc index bd5b7202a..52f275227 100644 --- a/src/runtime/haskell/PGF2/FFI.hsc +++ b/src/runtime/haskell/PGF2/FFI.hsc @@ -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"