diff options
| author | kr.angelov <kr.angelov@gmail.com> | 2014-02-09 20:45:11 +0000 |
|---|---|---|
| committer | kr.angelov <kr.angelov@gmail.com> | 2014-02-09 20:45:11 +0000 |
| commit | adeeb47e06cba3ac76b585b068324fac0446bad0 (patch) | |
| tree | 1302eaf67e012646c2072c55a946247447fbe5cc /src/runtime/haskell-bind/pgf2-bind.cabal | |
| parent | f30c60c3d7cfc2dbaca7e1ba0abf953b9c3caa63 (diff) | |
cleanup the code for the FFI binding. The API is now more uniform with the Python and the Java bindings. Fixed a lot of memory leaks.
Diffstat (limited to 'src/runtime/haskell-bind/pgf2-bind.cabal')
| -rw-r--r-- | src/runtime/haskell-bind/pgf2-bind.cabal | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/src/runtime/haskell-bind/pgf2-bind.cabal b/src/runtime/haskell-bind/pgf2-bind.cabal new file mode 100644 index 000000000..e2a9e2e7a --- /dev/null +++ b/src/runtime/haskell-bind/pgf2-bind.cabal @@ -0,0 +1,36 @@ +-- Initial haskell-bind.cabal generated by cabal init. For further +-- documentation, see http://haskell.org/cabal/users-guide/ + +name: pgf2-bind +version: 0.1.0.0 +-- synopsis: +-- description: +homepage: http://www.grammaticalframework.org +license: LGPL-3 +--license-file: LICENSE +author: Inari +maintainer: Krasimir Angelov +-- copyright: +category: Language +build-type: Simple +extra-source-files: README +cabal-version: >=1.10 + +library + exposed-modules: PGF2 + other-modules: PGF2.FFI + build-depends: base >=4.5 && <4.7, bytestring >=0.9 && <0.11, + containers + -- hs-source-dirs: + build-tools: hsc2hs + extra-libraries: gu pgf + cc-options: -std=c99 + default-language: Haskell2010 + +executable pgf-shell + main-is: pgf-shell.hs + hs-source-dirs: examples + build-depends: base, haskell-bind, containers + default-language: Haskell2010 + if impl(ghc>=7.0) + ghc-options: -rtsopts |
