/nix/store/dlwqlnbaj5vfm9aw20r1yxk8y56lmgif-repo/header.tmpl
tree-sitter-oat-v1/bindings/go/binding.go

16 lines
341 B
Go
Raw Permalink Normal View History

2025-10-31 19:42:55 +01:00
package tree_sitter_oat_v1
// #cgo CFLAGS: -std=c11 -fPIC
// #include "../../src/parser.c"
// #if __has_include("../../src/scanner.c")
// #include "../../src/scanner.c"
// #endif
import "C"
import "unsafe"
// Get the tree-sitter Language for this grammar.
func Language() unsafe.Pointer {
return unsafe.Pointer(C.tree_sitter_oat_v1())
}