Documentation
¶
Index ¶
- Constants
- func ConstructCDT(cdt *C.struct_cdt) error
- func ConstructCDTS(cdts *C.struct_cdts, callbacks *C.struct_construct_cdts_callbacks) error
- func FromCDTToGo(pvcdt unsafe.Pointer, i int, objectType reflect.Type) interface{}
- func FromGoToCDT(input interface{}, pvcdt unsafe.Pointer, t IDL.MetaFFITypeInfo, i int)
- func GetCacheSize() int
- func GetGoObject(h *C.struct_cdt_metaffi_handle) interface{}
- func GetMetaFFITypeInfo(input interface{}) (IDL.MetaFFITypeInfo, reflect.Type)
- func GetObject(h Handle) interface{}
- func GetReleaserCFunction() unsafe.Pointer
- func GoObjectToMetaffiHandle(p *C.struct_cdt_metaffi_handle, val interface{})
- func NewConstructCDTSCallbacks() *C.struct_construct_cdts_callbacks
- func NewTraverseCDTSCallbacks() *C.struct_traverse_cdts_callbacks
- func ReleaseObject(h Handle) error
- func Releaser(h C.metaffi_handle)
- func TraverseCDT(cdt *C.struct_cdt) error
- func TraverseCDTS(cdts *C.struct_cdts, callbacks *C.struct_traverse_cdts_callbacks) error
- func XLLRAllocCDTSBuffer(paramsCount uint64, retsCount uint64) (pcdts unsafe.Pointer, parametersCDTS unsafe.Pointer, ...)
- func XLLRFreeCDTSBuffer(pcdts unsafe.Pointer)
- func XLLRFreeRuntimePlugin(runtimePlugin string) error
- func XLLRFreeXCall(runtimePlugin string, xcall unsafe.Pointer) error
- func XLLRLoadEntity(runtimePlugin string, modulePath string, entityPath string, ...) (unsafe.Pointer, error)
- func XLLRLoadEntityWithAliases(runtimePlugin string, modulePath string, entityPath string, ...) (unsafe.Pointer, error)
- func XLLRLoadRuntimePlugin(runtimePlugin string) error
- func XLLRXCallNoParamsNoRet(xcall unsafe.Pointer) error
- func XLLRXCallNoParamsRet(xcall unsafe.Pointer, cdts unsafe.Pointer) error
- func XLLRXCallParamsNoRet(xcall unsafe.Pointer, cdts unsafe.Pointer) error
- func XLLRXCallParamsRet(xcall unsafe.Pointer, pcdts unsafe.Pointer) error
- type CDT
- func (cdt *CDT) GetBool() bool
- func (cdt *CDT) GetBoolVal() C.metaffi_bool
- func (cdt *CDT) GetCallableVal() *MetaFFICallable
- func (cdt *CDT) GetChar16() *MetaFFIChar16
- func (cdt *CDT) GetChar32() *MetaFFIChar32
- func (cdt *CDT) GetChar8() *MetaFFIChar8
- func (cdt *CDT) GetFloat32() float32
- func (cdt *CDT) GetFloat32Val() C.metaffi_float32
- func (cdt *CDT) GetFloat64() float64
- func (cdt *CDT) GetFloat64Val() C.metaffi_float64
- func (cdt *CDT) GetFreeRequired() C.metaffi_bool
- func (cdt *CDT) GetHandleVal() *CDTMetaFFIHandle
- func (cdt *CDT) GetInt16Val() C.metaffi_int16
- func (cdt *CDT) GetInt32() int32
- func (cdt *CDT) GetInt32Val() C.metaffi_int32
- func (cdt *CDT) GetInt64() int64
- func (cdt *CDT) GetInt64Val() C.metaffi_int64
- func (cdt *CDT) GetInt8() int8
- func (cdt *CDT) GetInt8Val() C.metaffi_int8
- func (cdt *CDT) GetString8() string
- func (cdt *CDT) GetTypeVal() C.metaffi_type
- func (cdt *CDT) GetUInt16() uint16
- func (cdt *CDT) GetUInt16Val() C.metaffi_uint16
- func (cdt *CDT) GetUInt32() uint32
- func (cdt *CDT) GetUInt32Val() C.metaffi_uint32
- func (cdt *CDT) GetUInt64() uint64
- func (cdt *CDT) GetUInt64Val() C.metaffi_uint64
- func (cdt *CDT) GetUInt8Val() C.metaffi_uint8
- func (cdt *CDT) SetBool(val bool)
- func (cdt *CDT) SetBoolVal(val C.metaffi_bool)
- func (cdt *CDT) SetCallableVal(val *MetaFFICallable)
- func (cdt *CDT) SetChar16(val *MetaFFIChar16)
- func (cdt *CDT) SetChar32(val *MetaFFIChar32)
- func (cdt *CDT) SetChar8(val *MetaFFIChar8)
- func (cdt *CDT) SetFloat32(val float32)
- func (cdt *CDT) SetFloat32Val(val C.metaffi_float32)
- func (cdt *CDT) SetFloat64(val float64)
- func (cdt *CDT) SetFloat64Val(val C.metaffi_float64)
- func (cdt *CDT) SetHandleVal(val *CDTMetaFFIHandle)
- func (cdt *CDT) SetInt16Val(val C.metaffi_int16)
- func (cdt *CDT) SetInt32(val int32)
- func (cdt *CDT) SetInt32Val(val C.metaffi_int32)
- func (cdt *CDT) SetInt64(val int64)
- func (cdt *CDT) SetInt64Val(val C.metaffi_int64)
- func (cdt *CDT) SetInt8(val int8)
- func (cdt *CDT) SetInt8Val(val C.metaffi_int8)
- func (cdt *CDT) SetString8(val string)
- func (cdt *CDT) SetTypeVal(t C.metaffi_type)
- func (cdt *CDT) SetUInt16(val uint16)
- func (cdt *CDT) SetUInt16Val(val C.metaffi_uint16)
- func (cdt *CDT) SetUInt32(val uint32)
- func (cdt *CDT) SetUInt32Val(val C.metaffi_uint32)
- func (cdt *CDT) SetUInt64(val uint64)
- func (cdt *CDT) SetUInt64Val(val C.metaffi_uint64)
- func (cdt *CDT) SetUInt8Val(val C.metaffi_uint8)
- type CDTMetaFFIHandle
- type CDTS
- type Handle
- type MetaFFICallable
- type MetaFFIChar16
- type MetaFFIChar32
- type MetaFFIChar8
- type MetaFFIHandle
- type OnFloat64Func
Constants ¶
View Source
const GO_RUNTIME_ID = 3958232544
Variables ¶
This section is empty.
Functions ¶
func ConstructCDT ¶
func ConstructCDT(cdt *C.struct_cdt) error
func ConstructCDTS ¶
func ConstructCDTS(cdts *C.struct_cdts, callbacks *C.struct_construct_cdts_callbacks) error
func FromCDTToGo ¶
func FromGoToCDT ¶
func FromGoToCDT(input interface{}, pvcdt unsafe.Pointer, t IDL.MetaFFITypeInfo, i int)
func GetCacheSize ¶
func GetCacheSize() int
func GetGoObject ¶
func GetGoObject(h *C.struct_cdt_metaffi_handle) interface{}
func GetMetaFFITypeInfo ¶
func GetMetaFFITypeInfo(input interface{}) (IDL.MetaFFITypeInfo, reflect.Type)
func GetReleaserCFunction ¶ added in v0.2.0
func GoObjectToMetaffiHandle ¶
func GoObjectToMetaffiHandle(p *C.struct_cdt_metaffi_handle, val interface{})
func NewConstructCDTSCallbacks ¶
func NewConstructCDTSCallbacks() *C.struct_construct_cdts_callbacks
func NewTraverseCDTSCallbacks ¶
func NewTraverseCDTSCallbacks() *C.struct_traverse_cdts_callbacks
func ReleaseObject ¶
func Releaser ¶ added in v0.2.0
func Releaser(h C.metaffi_handle)
func TraverseCDT ¶
func TraverseCDT(cdt *C.struct_cdt) error
func TraverseCDTS ¶
func TraverseCDTS(cdts *C.struct_cdts, callbacks *C.struct_traverse_cdts_callbacks) error
func XLLRAllocCDTSBuffer ¶
func XLLRFreeCDTSBuffer ¶ added in v0.2.0
func XLLRFreeRuntimePlugin ¶
func XLLRFreeXCall ¶ added in v0.2.0
func XLLRLoadEntity ¶ added in v0.2.0
func XLLRLoadEntityWithAliases ¶ added in v0.2.0
func XLLRLoadEntityWithAliases(runtimePlugin string, modulePath string, entityPath string, paramsTypes []IDL.MetaFFITypeInfo, retvalsTypes []IDL.MetaFFITypeInfo) (unsafe.Pointer, error)
func XLLRLoadRuntimePlugin ¶
func XLLRXCallNoParamsNoRet ¶
func XLLRXCallNoParamsRet ¶
func XLLRXCallParamsNoRet ¶
Types ¶
type CDT ¶
type CDT struct {
// contains filtered or unexported fields
}
func (*CDT) GetBoolVal ¶
func (cdt *CDT) GetBoolVal() C.metaffi_bool
func (*CDT) GetCallableVal ¶
func (cdt *CDT) GetCallableVal() *MetaFFICallable
func (*CDT) GetChar16 ¶
func (cdt *CDT) GetChar16() *MetaFFIChar16
func (*CDT) GetChar32 ¶
func (cdt *CDT) GetChar32() *MetaFFIChar32
func (*CDT) GetChar8 ¶
func (cdt *CDT) GetChar8() *MetaFFIChar8
func (*CDT) GetFloat32 ¶
func (*CDT) GetFloat32Val ¶
func (cdt *CDT) GetFloat32Val() C.metaffi_float32
func (*CDT) GetFloat64 ¶
func (*CDT) GetFloat64Val ¶
func (cdt *CDT) GetFloat64Val() C.metaffi_float64
func (*CDT) GetFreeRequired ¶ added in v0.2.0
func (cdt *CDT) GetFreeRequired() C.metaffi_bool
func (*CDT) GetHandleVal ¶
func (cdt *CDT) GetHandleVal() *CDTMetaFFIHandle
func (*CDT) GetInt16Val ¶
func (cdt *CDT) GetInt16Val() C.metaffi_int16
func (*CDT) GetInt32Val ¶
func (cdt *CDT) GetInt32Val() C.metaffi_int32
func (*CDT) GetInt64Val ¶
func (cdt *CDT) GetInt64Val() C.metaffi_int64
func (*CDT) GetInt8Val ¶
func (cdt *CDT) GetInt8Val() C.metaffi_int8
func (*CDT) GetString8 ¶
func (*CDT) GetTypeVal ¶
func (cdt *CDT) GetTypeVal() C.metaffi_type
func (*CDT) GetUInt16Val ¶
func (cdt *CDT) GetUInt16Val() C.metaffi_uint16
func (*CDT) GetUInt32Val ¶
func (cdt *CDT) GetUInt32Val() C.metaffi_uint32
func (*CDT) GetUInt64Val ¶
func (cdt *CDT) GetUInt64Val() C.metaffi_uint64
func (*CDT) GetUInt8Val ¶
func (cdt *CDT) GetUInt8Val() C.metaffi_uint8
func (*CDT) SetBoolVal ¶
func (cdt *CDT) SetBoolVal(val C.metaffi_bool)
func (*CDT) SetCallableVal ¶
func (cdt *CDT) SetCallableVal(val *MetaFFICallable)
func (*CDT) SetChar16 ¶
func (cdt *CDT) SetChar16(val *MetaFFIChar16)
func (*CDT) SetChar32 ¶
func (cdt *CDT) SetChar32(val *MetaFFIChar32)
func (*CDT) SetChar8 ¶
func (cdt *CDT) SetChar8(val *MetaFFIChar8)
func (*CDT) SetFloat32 ¶
func (*CDT) SetFloat32Val ¶
func (cdt *CDT) SetFloat32Val(val C.metaffi_float32)
func (*CDT) SetFloat64 ¶
func (*CDT) SetFloat64Val ¶
func (cdt *CDT) SetFloat64Val(val C.metaffi_float64)
func (*CDT) SetHandleVal ¶
func (cdt *CDT) SetHandleVal(val *CDTMetaFFIHandle)
func (*CDT) SetInt16Val ¶
func (cdt *CDT) SetInt16Val(val C.metaffi_int16)
func (*CDT) SetInt32Val ¶
func (cdt *CDT) SetInt32Val(val C.metaffi_int32)
func (*CDT) SetInt64Val ¶
func (cdt *CDT) SetInt64Val(val C.metaffi_int64)
func (*CDT) SetInt8Val ¶
func (cdt *CDT) SetInt8Val(val C.metaffi_int8)
func (*CDT) SetString8 ¶
func (*CDT) SetTypeVal ¶
func (cdt *CDT) SetTypeVal(t C.metaffi_type)
func (*CDT) SetUInt16Val ¶
func (cdt *CDT) SetUInt16Val(val C.metaffi_uint16)
func (*CDT) SetUInt32Val ¶
func (cdt *CDT) SetUInt32Val(val C.metaffi_uint32)
func (*CDT) SetUInt64Val ¶
func (cdt *CDT) SetUInt64Val(val C.metaffi_uint64)
func (*CDT) SetUInt8Val ¶
func (cdt *CDT) SetUInt8Val(val C.metaffi_uint8)
type CDTMetaFFIHandle ¶
type CDTMetaFFIHandle struct {
Val *C.struct_cdt_metaffi_handle
}
func (*CDTMetaFFIHandle) GetHandle ¶
func (handle *CDTMetaFFIHandle) GetHandle() C.metaffi_handle
type CDTS ¶
type CDTS struct {
// contains filtered or unexported fields
}
func NewCDTSFromCDTS ¶
func (*CDTS) GetFixedDimensions ¶
func (cdts *CDTS) GetFixedDimensions() C.metaffi_int64
func (*CDTS) GetLength ¶
func (cdts *CDTS) GetLength() C.metaffi_size
type Handle ¶
type Handle C.metaffi_handle
type MetaFFICallable ¶
type MetaFFICallable struct {
Val *C.struct_cdt_metaffi_callable
}
type MetaFFIChar16 ¶
type MetaFFIChar16 struct {
Val *C.struct_metaffi_char16
}
type MetaFFIChar32 ¶
type MetaFFIChar32 struct {
Val *C.struct_metaffi_char32
}
type MetaFFIChar8 ¶
type MetaFFIChar8 struct {
Val *C.struct_metaffi_char8
}
type MetaFFIHandle ¶
type OnFloat64Func ¶
type OnFloat64Func func(index *C.metaffi_size, indexSize C.metaffi_size, val C.metaffi_float64, context unsafe.Pointer)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.