v0.1.3 290220c

loop_gen.go RawHistoryFolder

1// Code generated by pipewiregen. DO NOT EDIT.
2
3package capi
4
5import "github.com/bnema/purego"
6
7import "unsafe"
8
9
10// pw_main_loop_newFunc is the function type for pw_main_loop_new.
11type pw_main_loop_newFunc func(props unsafe.Pointer) unsafe.Pointer
12
13// pw_main_loop_destroyFunc is the function type for pw_main_loop_destroy.
14type pw_main_loop_destroyFunc func(loop unsafe.Pointer)
15
16// pw_main_loop_runFunc is the function type for pw_main_loop_run.
17type pw_main_loop_runFunc func(loop unsafe.Pointer) int32
18
19// pw_main_loop_quitFunc is the function type for pw_main_loop_quit.
20type pw_main_loop_quitFunc func(loop unsafe.Pointer) int32
21
22// pw_main_loop_get_loopFunc is the function type for pw_main_loop_get_loop.
23type pw_main_loop_get_loopFunc func(loop unsafe.Pointer) unsafe.Pointer
24
25
26
27var (
28
29	pw_main_loop_new pw_main_loop_newFunc
30
31	pw_main_loop_destroy pw_main_loop_destroyFunc
32
33	pw_main_loop_run pw_main_loop_runFunc
34
35	pw_main_loop_quit pw_main_loop_quitFunc
36
37	pw_main_loop_get_loop pw_main_loop_get_loopFunc
38
39)
40
41func registerLoop(handle uintptr) {
42
43	purego.RegisterLibFunc(&pw_main_loop_new, handle, "pw_main_loop_new")
44
45	purego.RegisterLibFunc(&pw_main_loop_destroy, handle, "pw_main_loop_destroy")
46
47	purego.RegisterLibFunc(&pw_main_loop_run, handle, "pw_main_loop_run")
48
49	purego.RegisterLibFunc(&pw_main_loop_quit, handle, "pw_main_loop_quit")
50
51	purego.RegisterLibFunc(&pw_main_loop_get_loop, handle, "pw_main_loop_get_loop")
52
53}

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 8

↑↓ moveenter openesc close