-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
link.go
33 lines (23 loc) · 1.14 KB
/
link.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
package zetasql
import (
"unsafe"
"github.com/goccy/go-zetasql/ast"
"github.com/goccy/go-zetasql/resolved_ast"
"github.com/goccy/go-zetasql/types"
)
//go:linkname getRawCatalog github.com/goccy/go-zetasql/types.getRawCatalog
func getRawCatalog(types.Catalog) unsafe.Pointer
//go:linkname newResolvedNode github.com/goccy/go-zetasql/resolved_ast.newNode
func newResolvedNode(unsafe.Pointer) resolved_ast.Node
//go:linkname getRawResolvedNode github.com/goccy/go-zetasql/resolved_ast.getRawNode
func getRawResolvedNode(resolved_ast.Node) unsafe.Pointer
//go:linkname newType github.com/goccy/go-zetasql/types.newType
func newType(unsafe.Pointer) types.Type
//go:linkname getRawType github.com/goccy/go-zetasql/types.getRawType
func getRawType(types.Type) unsafe.Pointer
//go:linkname newBuiltinFunctionOptions github.com/goccy/go-zetasql/types.newBuiltinFunctionOptions
func newBuiltinFunctionOptions(unsafe.Pointer) *types.BuiltinFunctionOptions
//go:linkname newNode github.com/goccy/go-zetasql/ast.newNode
func newNode(unsafe.Pointer) ast.Node
//go:linkname getNodeRaw github.com/goccy/go-zetasql/ast.getNodeRaw
func getNodeRaw(ast.Node) unsafe.Pointer