summaryrefslogtreecommitdiff
path: root/src/runtime/haskell-bind/PGF2
diff options
context:
space:
mode:
authorkr.angelov <kr.angelov@gmail.com>2014-12-19 08:58:02 +0000
committerkr.angelov <kr.angelov@gmail.com>2014-12-19 08:58:02 +0000
commitf44f9a1b00568e205fd68be0f0ea7728e7502a49 (patch)
tree323cba6bfa7b924edf462cda201e458701ddc84e /src/runtime/haskell-bind/PGF2
parentbb1c1dd27c8adc007ef64546cae67ac729b05422 (diff)
added mkStr to 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 528b80ea8..8ddc536b9 100644
--- a/src/runtime/haskell-bind/PGF2/FFI.hs
+++ b/src/runtime/haskell-bind/PGF2/FFI.hs
@@ -182,6 +182,9 @@ foreign import ccall "pgf/pgf.h pgf_fullform_get_analyses"
foreign import ccall "pgf/pgf.h pgf_expr_apply"
pgf_expr_apply :: Ptr PgfApplication -> Ptr GuPool -> IO PgfExpr
+foreign import ccall "pgf/pgf.h pgf_expr_string"
+ pgf_expr_string :: CString -> Ptr GuPool -> IO PgfExpr
+
foreign import ccall "pgf/pgf.h pgf_expr_unapply"
pgf_expr_unapply :: PgfExpr -> Ptr GuPool -> IO (Ptr PgfApplication)