It seems redundant to array_init() when the structure is zeroed already in the static assignment. But probably the fact that this code juggles between TSTreeCursor and TreeCursor, without using a union, leaves the compiler unable to tell that it's been initialized. Fixes https://github.com/tree-sitter/tree-sitter/issues/853 |
||
|---|---|---|
| .. | ||
| binding_rust | ||
| binding_web | ||
| include/tree_sitter | ||
| src | ||
| .ccls | ||
| Cargo.toml | ||
| README.md | ||
Subdirectories
src- C source code for the Tree-sitter libraryinclude- C headers for the Tree-sitter librarybinding_rust- Rust bindings to the Tree-sitter librarybinding_web- JavaScript bindings to the Tree-sitter library, using WebAssembly