haroonga 0.1.6.0 → 0.1.7.0
raw patch · 3 files changed
+20/−5 lines, 3 files
Files
- Bindings/Groonga/Raw.hsc +4/−2
- README.md +8/−1
- haroonga.cabal +8/−2
Bindings/Groonga/Raw.hsc view
@@ -1336,12 +1336,12 @@ {- struct _grn_pat_scan_hit { grn_id id; unsigned int offset; unsigned int length; }; -}-#starttype struct _grn_pat_scan_hit+#starttype struct _grn_table_scan_hit #field id , CUInt #field offset , CUInt #field length , CUInt #stoptype-#ccall grn_pat_scan , Ptr <_grn_ctx> -> Ptr <_grn_pat> -> CString -> CUInt -> Ptr <_grn_pat_scan_hit> -> CUInt -> Ptr CString -> IO CInt+#ccall grn_pat_scan , Ptr <_grn_ctx> -> Ptr <_grn_pat> -> CString -> CUInt -> Ptr <_grn_table_scan_hit> -> CUInt -> Ptr CString -> IO CInt #ccall grn_pat_prefix_search , Ptr <_grn_ctx> -> Ptr <_grn_pat> -> Ptr () -> CUInt -> Ptr <_grn_hash> -> IO <grn_rc> #ccall grn_pat_suffix_search , Ptr <_grn_ctx> -> Ptr <_grn_pat> -> Ptr () -> CUInt -> Ptr <_grn_hash> -> IO <grn_rc> #ccall grn_pat_lcp_search , Ptr <_grn_ctx> -> Ptr <_grn_pat> -> Ptr () -> CUInt -> IO CUInt@@ -1360,6 +1360,8 @@ {- typedef struct _grn_dat_cursor grn_dat_cursor; -} #opaque_t _grn_dat_cursor #synonym_t grn_dat_cursor , <_grn_dat_cursor>+#ccall grn_dat_scan , Ptr <struct _grn_ctx> -> Ptr <struct _grn_dat> -> CString -> CUInt -> Ptr <struct _grn_table_scan_hit> -> CUInt -> Ptr CString -> IO CInt+#ccall grn_dat_lcp_search , Ptr <struct _grn_ctx> -> Ptr <struct _grn_dat> -> Ptr () -> CUInt -> IO CUInt #ccall grn_dat_create , Ptr <_grn_ctx> -> CString -> CUInt -> CUInt -> CUInt -> IO (Ptr <_grn_dat>) #ccall grn_dat_open , Ptr <_grn_ctx> -> CString -> IO (Ptr <_grn_dat>) #ccall grn_dat_close , Ptr <_grn_ctx> -> Ptr <_grn_dat> -> IO <grn_rc>
README.md view
@@ -7,7 +7,7 @@ ## dependencies -* groonga 4.1.0++* groonga 4.1.1+ * hsc2hs * and some cabal packages (see: haroonga.cabal) @@ -36,6 +36,13 @@ * Currently, Haroonga supports __platform which has pkg-config command only__. - Linux - Mac OSX++### Windows installation (for advanced users) *experimental*++* Install Groonga windows binary (e.g. C:\groonga)+* And type following command:++ > cabal install --extra-include-dirs='C:\groonga\include\groonga' --extra-lib-dirs='C:\groonga\lib' ## Haddock
haroonga.cabal view
@@ -2,7 +2,7 @@ -- documentation, see http://haskell.org/cabal/users-guide/ name: haroonga-version: 0.1.6.0+version: 0.1.7.0 synopsis: Low level bindings for Groonga. description: Bindings to Groonga <http://groonga.org/>. license: LGPL-2.1@@ -30,7 +30,13 @@ hs-source-dirs: . build-tools: hsc2hs default-language: Haskell2010- pkgconfig-depends: groonga >= 4.1.0++ if !os(mingw32)+ pkgconfig-depends: groonga >= 4.1.1++ if os(mingw32)+ extra-libraries: groonga+ source-repository head type: git