Help us shape the future of Go! Take the 2026 Go Developer Survey

foo

package
v0.13.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const XGoPackage = true

Variables

This section is empty.

Functions

This section is empty.

Types

type Flags

type Flags struct {
	Value c.Int
	// contains filtered or unexported fields
}

A plain run of unsigned bit-fields packed into one storage word, plus a regular member that keeps its natural conversion.

func (*Flags) XGof_get_a

func (p *Flags) XGof_get_a() c.Uint

unsigned int a : 1

func (*Flags) XGof_get_b

func (p *Flags) XGof_get_b() c.Uint

unsigned int b : 3

func (*Flags) XGof_get_c

func (p *Flags) XGof_get_c() c.Uint

unsigned int c : 12

func (*Flags) XGof_set_a

func (p *Flags) XGof_set_a(v c.Uint)

unsigned int a : 1

func (*Flags) XGof_set_b

func (p *Flags) XGof_set_b(v c.Uint)

unsigned int b : 3

func (*Flags) XGof_set_c

func (p *Flags) XGof_set_c(v c.Uint)

unsigned int c : 12

type Mixed

type Mixed struct {
	// contains filtered or unexported fields
}

Signed and bool bit-fields, with an unnamed zero-width separator that forces the next field into a fresh storage unit (no accessor for the separator).

func (*Mixed) XGof_get_flag

func (p *Mixed) XGof_get_flag() bool

_Bool flag : 1

func (*Mixed) XGof_get_rest

func (p *Mixed) XGof_get_rest() c.Uint

unsigned int rest : 20

func (*Mixed) XGof_get_sx

func (p *Mixed) XGof_get_sx() c.Int

int sx : 5

func (*Mixed) XGof_set_flag

func (p *Mixed) XGof_set_flag(v bool)

_Bool flag : 1

func (*Mixed) XGof_set_rest

func (p *Mixed) XGof_set_rest(v c.Uint)

unsigned int rest : 20

func (*Mixed) XGof_set_sx

func (p *Mixed) XGof_set_sx(v c.Int)

int sx : 5

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL