Versions in this module Expand all Collapse all v1 v1.0.3 Oct 20, 2024 v1.0.2 Oct 3, 2024 v1.0.1 Sep 25, 2024 v1.0.0 Sep 24, 2024 Changes in this version + func CastBool(value bool) (cast int) + func ConvertCTypes[RET, SRC any](src SRC) RET + func Ptr(data interface{}) unsafe.Pointer + func PtrToByteSlice(p unsafe.Pointer) []byte + func PtrToUint16Slice(p unsafe.Pointer) []uint16 + func WrapBool[RESULT ~bool](goValue *bool) (wrapped *RESULT, finisher func()) + func WrapNumberPtr[CTYPE Number, GOTYPE Number](goValue *GOTYPE) (wrapped *CTYPE, finisher func()) + func WrapStringList[RET ~int8](value []string) (wrapped **RET, finisher func()) + func WrapString[RET ~int8](value string) (wrapped *RET, finisher func()) + func WrapVoidPtr(value unsafe.Pointer) (wrapped unsafe.Pointer, finisher func()) + func Wrap[CTYPE any, self any](in WrappableType[CTYPE, self]) (cPtr *CTYPE, finisher func()) + type Number interface + type StringBuffer struct + func NewStringBuffer(initialValue string) *StringBuffer + func (buf *StringBuffer) Free() + func (buf *StringBuffer) Ptr() unsafe.Pointer + func (buf *StringBuffer) ResizeTo(requestedSize int) + func (buf *StringBuffer) Size() int + func (buf *StringBuffer) ToGo() string + type Vector struct + Capacity int + Data T + Size int + func NewVectorFromC[T any, CINT ~int32](size, capacity CINT, data T) Vector[T] + func (v *Vector[T]) Pinner() *runtime.Pinner + type WrappableType interface + FromC func(unsafe.Pointer) self + ToC func() CTYPE