Documentation ¶
Index ¶
- Constants
- type Args
- func (args *Args) Bool() C.DCbool
- func (args *Args) Char() C.DCchar
- func (args *Args) Double() C.DCdouble
- func (args *Args) Float() C.DCfloat
- func (args *Args) Int() C.DCint
- func (args *Args) Long() C.DClong
- func (args *Args) LongLong() C.DClonglong
- func (args *Args) Pointer() C.DCpointer
- func (args *Args) Short() C.DCshort
- func (args *Args) UnsignedChar() C.DCuchar
- func (args *Args) UnsignedInt() C.DCuint
- func (args *Args) UnsignedLong() C.DCulong
- func (args *Args) UnsignedLongLong() C.DCulonglong
- func (args *Args) UnsignedShort() C.DCushort
- type Callback
- type CallbackHandler
- type Signature
- type VM
- func (vm *VM) Call(address unsafe.Pointer)
- func (vm *VM) CallBool(address unsafe.Pointer) bool
- func (vm *VM) CallChar(address unsafe.Pointer) int8
- func (vm *VM) CallDouble(address unsafe.Pointer) float64
- func (vm *VM) CallFloat(address unsafe.Pointer) float32
- func (vm *VM) CallInt(address unsafe.Pointer) int32
- func (vm *VM) CallLong(address unsafe.Pointer) int
- func (vm *VM) CallLongLong(address unsafe.Pointer) int64
- func (vm *VM) CallPointer(address unsafe.Pointer) unsafe.Pointer
- func (vm *VM) CallShort(address unsafe.Pointer) int16
- func (vm *VM) Free()
- func (vm *VM) PushBool(value bool)
- func (vm *VM) PushChar(value int8)
- func (vm *VM) PushDouble(value float64)
- func (vm *VM) PushFloat(value float32)
- func (vm *VM) PushPointer(value unsafe.Pointer)
- func (vm *VM) PushShort(value int16)
- func (vm *VM) PushSignedInt(value int32)
- func (vm *VM) PushSignedLong(value int)
- func (vm *VM) PushSignedLongLong(value int64)
- func (vm *VM) Reset()
Constants ¶
View Source
const ( Void = C.DC_SIGCHAR_VOID Bool = C.DC_SIGCHAR_BOOL Char = C.DC_SIGCHAR_CHAR UnsignedChar = C.DC_SIGCHAR_UCHAR Short = C.DC_SIGCHAR_SHORT UnsignedShort = C.DC_SIGCHAR_USHORT Int = C.DC_SIGCHAR_INT Uint = C.DC_SIGCHAR_UINT Long = C.DC_SIGCHAR_LONG UnsignedLong = C.DC_SIGCHAR_ULONG LongLong = C.DC_SIGCHAR_LONGLONG UnsignedLongLong = C.DC_SIGCHAR_ULONGLONG Float = C.DC_SIGCHAR_FLOAT Double = C.DC_SIGCHAR_DOUBLE Pointer = C.DC_SIGCHAR_POINTER String = C.DC_SIGCHAR_STRING Aggregate = C.DC_SIGCHAR_AGGREGATE )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
func (*Args) LongLong ¶
func (args *Args) LongLong() C.DClonglong
func (*Args) UnsignedChar ¶
func (*Args) UnsignedInt ¶
func (*Args) UnsignedLong ¶
func (*Args) UnsignedLongLong ¶
func (args *Args) UnsignedLongLong() C.DCulonglong
func (*Args) UnsignedShort ¶
type Callback ¶
type Callback C.DCCallback
func NewCallback ¶
func NewCallback(sig Signature, handler CallbackHandler) *Callback
type VM ¶
type VM struct {
// contains filtered or unexported fields
}
func (*VM) PushDouble ¶
func (*VM) PushPointer ¶
func (*VM) PushSignedInt ¶
func (*VM) PushSignedLong ¶
func (*VM) PushSignedLongLong ¶
Click to show internal directories.
Click to hide internal directories.