Debian Codegraph @

gl/work_other.go

raw symbols SCIP
1 // Copyright 2019 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
4
5 //go:build (!cgo || (!darwin && !linux && !openbsd)) && !windows
6
7 package gl
8
9 // This file contains stub implementations of what the other work*.go files
10 // provide. These stubs don't do anything, other than compile (e.g. when cgo is
11 // disabled).
12
13 type context struct{}
14
15 func (*context) enqueue(c call) uintptr {
16 panic("unimplemented; GOOS/CGO combination not supported")
17 }
18
19 func (*context) cString(str string) (uintptr, func()) {
20 panic("unimplemented; GOOS/CGO combination not supported")
21 }
22
23 func (*context) cStringPtr(str string) (uintptr, func()) {
24 panic("unimplemented; GOOS/CGO combination not supported")
25 }
26
27 type context3 = context
28
29 func NewContext() (Context, Worker) {
30 panic("unimplemented; GOOS/CGO combination not supported")
31 }
32
33 func Version() string {
34 panic("unimplemented; GOOS/CGO combination not supported")
35 }