Versions in this module Expand all Collapse all v0 v0.5.2 Jan 19, 2024 Changes in this version + func SendSuper[T any](id ID, sel SEL, args ...any) T — darwin/amd64 + func Send[T any](id ID, sel SEL, args ...any) T — darwin/amd64 + type Class uintptr — darwin/amd64 + func AllocateClassPair(super Class, name string, extraBytes uintptr) Class + func GetClass(name string) Class + func RegisterClass(name string, superClass Class, protocols []*Protocol, ivars []FieldDef, ...) (Class, error) + func (c Class) AddIvar(name string, ty interface{}, types string) bool + func (c Class) AddMethod(name SEL, imp IMP, types string) bool + func (c Class) AddProtocol(protocol *Protocol) bool + func (c Class) InstanceSize() uintptr + func (c Class) InstanceVariable(name string) Ivar + func (c Class) Register() + func (c Class) SuperClass() Class + type FieldDef struct — darwin/amd64 + Attribute IvarAttrib + Name string + Type reflect.Type + type ID uintptr — darwin/amd64 + func (id ID) Class() Class + func (id ID) GetIvar(ivar Ivar) ID + func (id ID) Send(sel SEL, args ...interface{}) ID + func (id ID) SendSuper(sel SEL, args ...interface{}) ID + func (id ID) SetIvar(ivar Ivar, value ID) + type IMP uintptr — darwin/amd64 + func NewIMP(fn interface{}) IMP + type Ivar uintptr — darwin/amd64 + func (i Ivar) Name() string + func (i Ivar) Offset() uintptr + type IvarAttrib int — darwin/amd64 + const ReadOnly + const ReadWrite + type MethodDef struct — darwin/amd64 + Cmd SEL + Fn any + type Protocol [0]func() — darwin/amd64 + func GetProtocol(name string) *Protocol + func (p *Protocol) Equals(p2 *Protocol) bool + type SEL uintptr — darwin/amd64 + func RegisterName(name string) SEL