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

Import ts_node_p_name.

This commit is contained in:
Rob Rix 2015-11-25 10:09:05 -05:00
parent 8030d173a2
commit 3460632ab9

View File

@ -51,6 +51,7 @@ instance Storable TSNode where
poke p n = cPoke p n poke p n = cPoke p n
foreign import ccall "app/bridge.h ts_document_root_node_p" ts_document_root_node_p :: Ptr TSDocument -> Ptr TSNode -> IO () foreign import ccall "app/bridge.h ts_document_root_node_p" ts_document_root_node_p :: Ptr TSDocument -> Ptr TSNode -> IO ()
foreign import ccall "prototype/External/tree-sitter/include/tree_sitter/runtime.h ts_node_p_name" ts_node_p_name :: Ptr TSNode -> Ptr TSDocument -> IO CString
main :: IO () main :: IO ()
main = do main = do