Files
codeql/python/extractor/tsg-python/bindings/go/binding.go
2024-05-07 10:40:01 +02:00

14 lines
328 B
Go

package tree_sitter_tsg_python
// #cgo CFLAGS: -std=c11 -fPIC
// #include "../../src/parser.c"
// // NOTE: if your language has an external scanner, add it here.
import "C"
import "unsafe"
// Get the tree-sitter Language for this grammar.
func Language() unsafe.Pointer {
return unsafe.Pointer(C.tree_sitter_tsg_python())
}