summaryrefslogtreecommitdiff
path: root/src/runtime/haskell-bind/PGF2/FFI.hs
diff options
context:
space:
mode:
authorkrasimir <krasimir@chalmers.se>2017-01-25 20:30:54 +0000
committerkrasimir <krasimir@chalmers.se>2017-01-25 20:30:54 +0000
commitdb0f8b0dced9a827c24842e5eeda7fbd64ef115e (patch)
tree4e17ba95c6d4cede185ecfd8d66b00b289627410 /src/runtime/haskell-bind/PGF2/FFI.hs
parent6de9636ff26aef7ed1cc8b3bc5d93f27a91b861d (diff)
improve the documentation for PGF2
Diffstat (limited to 'src/runtime/haskell-bind/PGF2/FFI.hs')
-rw-r--r--src/runtime/haskell-bind/PGF2/FFI.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/runtime/haskell-bind/PGF2/FFI.hs b/src/runtime/haskell-bind/PGF2/FFI.hs
index 8c4a1f5de..5e7dfe260 100644
--- a/src/runtime/haskell-bind/PGF2/FFI.hs
+++ b/src/runtime/haskell-bind/PGF2/FFI.hs
@@ -10,6 +10,8 @@ import Control.Exception
import GHC.Ptr
import Data.Int(Int32)
+-- | An abstract data type representing multilingual grammar
+-- in Portable Grammar Format.
data PGF = PGF {pgf :: Ptr PgfPGF, pgfMaster :: ForeignPtr GuPool}
data Concr = Concr {concr :: Ptr PgfConcr, concrMaster :: PGF}