v0.11.0-alpha.2 fa49e74

syscall_notstackargs.go RawHistoryFolder

1// SPDX-License-Identifier: Apache-2.0
2// SPDX-FileCopyrightText: 2026 The Ebitengine Authors
3
4//go:build !(ppc64le || s390x)
5
6package purego
7
8import "unsafe"
9
10// callbackArgs is the argument block passed from the assembly trampoline
11// to callbackWrap when C code calls a Go callback registered with NewCallback.
12// The assembly fills in the fields before calling callbackWrap, which uses
13// them to determine which Go function to invoke and where to read its
14// arguments from, and writes the return value back into result.
15//
16// callbackArgs is only used on Unix. On Windows, callbacks are handled by
17// the runtime's own callback mechanism, so this type is compiled but unused,
18// serving only as a stub to satisfy cross-platform compilation.
19type callbackArgs struct {
20	index uintptr
21	// args points to the argument block.
22	//
23	// The structure of the arguments goes
24	// float registers followed by the
25	// integer registers followed by the stack.
26	//
27	// This variable is treated as a contiguous
28	// block of memory containing all of the arguments
29	// for this callback.
30	args unsafe.Pointer
31	// Below are out-args from callbackWrap
32	result [4]uintptr
33}
34
35func (c *callbackArgs) stackFrame() unsafe.Pointer {
36	return nil
37}
38
39func (c *callbackArgs) intFrame() unsafe.Pointer {
40	return nil
41}

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 1

Tags 102

↑↓ moveenter openesc close