Documentation
¶
Index ¶
- Constants
- func F(callback func() c.Int)
- func Fill(buf *c.Double, n c.Int)
- func G()
- func H(callbackPtr *func())
- func Primitives(ch c.Char, uc uint8, sc int8, s int16, us uint16, i c.Int, ui c.Uint, l c.Long, ...) c.Double
- func Sort(a unsafe.Pointer, b unsafe.Pointer, elementSize c.Int, count c.Int, ...) c.Int
- func Sum(values *c.Int, count c.Int) c.Int
- func Transform(matrix *[4]c.Int, p *[10]c.Int)
- type Color
- type LongDouble
- type Matrix
Constants ¶
View Source
const LLGoPackage = "link: -L/path/foo -lfoo"
Variables ¶
This section is empty.
Functions ¶
func Primitives ¶
func Primitives(ch c.Char, uc uint8, sc int8, s int16, us uint16, i c.Int, ui c.Uint, l c.Long, ul c.Ulong, ll c.LongLong, ull c.UlongLong, flt c.Float) c.Double
Various primitive C types as function parameters and result.
func Sort ¶
func Sort(a unsafe.Pointer, b unsafe.Pointer, elementSize c.Int, count c.Int, cmp func(_llcppg_param1 unsafe.Pointer, _llcppg_param2 unsafe.Pointer) c.Int) c.Int
Function-pointer parameters and results.
func Sum ¶
Function parameters: an array formally written as T[N] or T[] is a pseudo-array that decays to a pointer T*.
Types ¶
type LongDouble ¶ added in v0.9.5
type LongDouble = c.LongDouble
Click to show internal directories.
Click to hide internal directories.