On this page
tmux.Ptr
- Module
- tmux
- Package
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/filter.go
-
Ptr returns a distinct pointer to a shallow copy of value, including when T has zero size. Its nonzero holder prevents Go from coalescing zero-size addresses. Slices, maps, pointers, and other reference-bearing values still alias their referenced data. Ptr performs no validation or ownership transfer.
0 declared, 0 inherited