libtmux Reference MCP Search
On this page

tmux.Ptr

View as Markdown

Module
tmux
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/filter.go
Ptr ( value : T ) *T
function [source]
function [source]
Ptr

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

Esc

Type to search.