1
1
mirror of https://github.com/github/semantic.git synced 2024-11-24 08:54:07 +03:00

Import the language type as TSLanguage.

This commit is contained in:
Rob Rix 2015-11-24 13:23:18 -05:00
parent 4e5da737bd
commit 34ccb0e368

View File

@ -18,8 +18,8 @@ import Foreign
import Foreign.CStorable
import Foreign.C.Types
data TSLanguageC = TsLanguageC deriving (Show, Eq, Generic, CStorable)
foreign import ccall "prototype/doubt-difftool/doubt-difftool-Bridging-Header.h ts_language_c" ts_language_c :: IO (Foreign.Ptr TSLanguageC)
data TSLanguage = TsLanguage deriving (Show, Eq, Generic, CStorable)
foreign import ccall "prototype/doubt-difftool/doubt-difftool-Bridging-Header.h ts_language_c" ts_language_c :: IO (Foreign.Ptr TSLanguage)
main :: IO ()
main = do