foo

package
v0.12.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const XGoPackage = true

Variables

This section is empty.

Functions

This section is empty.

Types

type Alias

type Alias struct {
	Code c.Int
}

type CallbackElements

type CallbackElements struct {
	Handlers  [2]_llcppg_anon_8
	Callbacks [2]func(_llcppg_param1 c.Int)
}

Both callback paths must retain the C calling-convention marker.

llgo:type C

type Device

type Device struct {
	NativeDataFormats [64]_llcppg_anon_0
	Sentinel          c.Int
}

Like ma_device_info.nativeDataFormats[64], each element owns its fields.

type Grid

type Grid struct {
	Cells [2][3]_llcppg_anon_1
}

Preserve both extents: cells[1][2].y uses one shared element type.

type NamedArrays

type NamedArrays struct {
	Tagged   [2]Tagged
	Aliased  [3]Alias
	Matrix   [2][3]c.Int
	Pointers [2]*Tagged
	Rows     *[2]Tagged
}

type Nested

type Nested struct {
	Entries [2]_llcppg_anon_2
}

Recursive records retain the path entries[1].inner[0].code.

type PointerArrays

type PointerArrays struct {
	Pointers [2]*_llcppg_anon_6
	Rows     *[2]_llcppg_anon_7
}

Element pointers and array pointers retain pointers[1]->code and (*rows)[1].code.

type Samples

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

func (*Samples) XGof_ref_entries

func (p *Samples) XGof_ref_entries() *[3]_llcppg_anon_9

func (*Samples) XGof_ref_words

func (p *Samples) XGof_ref_words() *[6]c.Double

type Tagged

type Tagged struct {
	Code c.Int
}

Resolve existing names before generating an anonymous element type.

type UnionArrays

type UnionArrays struct {
	Values [2]_llcppg_anon_5
}

Anonymous union elements use the same recursive conversion as structs.

Jump to

Keyboard shortcuts

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