{-# OPTIONS_GHC -fno-warn-unused-imports #-} #include #include "xls.h" module Bindings.Xls where import Foreign.Ptr import Bindings.Xlsstruct #strict_import import Bindings.Xlstool #ccall xls_getVersion , IO CString #globalvar xls_debug , CInt #ccall xls , IO CInt #ccall xls_addSST , Ptr -> Ptr -> CUInt -> IO () #ccall xls_appendSST , Ptr -> Ptr CUChar -> CUInt -> IO () #ccall xls_addFormat , Ptr -> Ptr -> IO () #ccall xls_parseWorkBook , Ptr -> IO () #ccall xls_parseWorkSheet , Ptr -> IO () #ccall xls_open , CString -> CString -> IO (Ptr ) #ccall xls_close_WB , Ptr -> IO () #ccall xls_getWorkSheet , Ptr -> CInt -> IO (Ptr ) #ccall xls_close_WS , Ptr -> IO () #ccall xls_row , Ptr -> CUShort -> IO (Ptr ) #ccall xls_cell , Ptr -> CUShort -> CUShort -> IO (Ptr )