diff --git a/app/Main.hs b/app/Main.hs index 1031fc17d..c7c36578a 100644 --- a/app/Main.hs +++ b/app/Main.hs @@ -52,6 +52,7 @@ instance Storable TSNode where 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 +foreign import ccall "prototype/External/tree-sitter/include/tree_sitter/runtime.h ts_node_p_named_child_count" ts_node_p_named_child_count :: Ptr TSNode -> IO CSize main :: IO () main = do