From bef9d8c5fce740fde65934b170cca33b121fde67 Mon Sep 17 00:00:00 2001 From: krasimir Date: Sun, 20 Dec 2015 14:04:52 +0000 Subject: added a primitive full-text search index in libsg. This can be use for finding an abstract tree whose linearization matches given keywords --- 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 c6fc2e2e2..ee26214c7 100644 --- a/src/runtime/haskell-bind/PGF2/FFI.hs +++ b/src/runtime/haskell-bind/PGF2/FFI.hs @@ -9,6 +9,9 @@ import Foreign.ForeignPtr import Control.Exception import GHC.Ptr +data PGF = PGF {pgf :: Ptr PgfPGF, pgfMaster :: ForeignPtr GuPool} +data Concr = Concr {concr :: Ptr PgfConcr, concrMaster :: PGF} + ------------------------------------------------------------------ -- libgu API -- cgit v1.2.3