mirror of
https://github.com/github/semantic.git
synced 2024-12-25 07:55:12 +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