packages feed

cedict-0.2.1: Data/Char/CEDICT/C/Data.hs

{-# LANGUAGE ForeignFunctionInterface #-}

module Data.Char.CEDICT.C.Data where

import Foreign
import Foreign.C
import Foreign.Ptr

{-# INCLUDE "c/data.h" #-}

foreign import ccall unsafe "&" ts_length :: Ptr CInt
foreign import ccall unsafe "&" ts_elements :: Ptr CString

foreign import ccall unsafe "&" st_length :: Ptr CInt
foreign import ccall unsafe "&" st_elements :: Ptr CString

foreign import ccall unsafe "&" d_defs :: Ptr CString
foreign import ccall unsafe "&" d_pins :: Ptr CString
foreign import ccall unsafe "&" d_trie :: Ptr CInt