mirror of
https://github.com/github/semantic.git
synced 2024-12-24 23:42:31 +03:00
Include a node directly.
This commit is contained in:
parent
ff5797fde5
commit
d60398f115
@ -32,7 +32,7 @@ foreign import ccall "prototype/External/tree-sitter/include/tree_sitter/runtime
|
||||
data TSLength = TsLength { bytes :: CSize, chars :: CSize }
|
||||
deriving (Show, Eq, Generic, CStorable)
|
||||
data TSNode = TsNode deriving (Show, Eq, Generic, CStorable)
|
||||
foreign import ccall "prototype/External/tree-sitter/include/tree_sitter/runtime.h ts_document_root_node" ts_document_root_node :: Foreign.Ptr TSDocument -> IO (Foreign.Ptr TSNode)
|
||||
foreign import ccall "prototype/External/tree-sitter/include/tree_sitter/runtime.h ts_document_root_node" ts_document_root_node :: Foreign.Ptr TSDocument -> IO TSNode
|
||||
|
||||
main :: IO ()
|
||||
main = do
|
||||
|
Loading…
Reference in New Issue
Block a user