1
1
mirror of https://github.com/github/semantic.git synced 2024-11-28 01:47:01 +03:00

Import ts_document_make.

This commit is contained in:
Rob Rix 2015-11-24 13:23:29 -05:00
parent 34ccb0e368
commit d71b7769b9

View File

@ -21,6 +21,9 @@ import Foreign.C.Types
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)
data TSDocument = TsDocument deriving (Show, Eq, Generic, CStorable)
foreign import ccall "prototype/External/tree-sitter/include/tree_sitter/runtime.h ts_document_make" ts_document_make :: IO (Foreign.Ptr TSDocument)
main :: IO ()
main = do
args <- getArgs