Documentation
¶
Index ¶
- func CallMethod(object RawPointer, method_name string, kwargs map[string]any) (any, error)
- func EncodeRawObject(object RawPointer) *cffi.BamlObjectHandle
- func NewRawObject(rt unsafe.Pointer, objectType cffi.BamlObjectType, kwargs []*cffi.HostMapEntry) (any, error)
- func SetDecodeRawObjectImpl(impl func(rt unsafe.Pointer, cRaw *cffi.BamlObjectHandle) (RawPointer, error))
- type RawObject
- type RawPointer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CallMethod ¶
func EncodeRawObject ¶
func EncodeRawObject(object RawPointer) *cffi.BamlObjectHandle
func NewRawObject ¶
func NewRawObject(rt unsafe.Pointer, objectType cffi.BamlObjectType, kwargs []*cffi.HostMapEntry) (any, error)
newRawObject creates a new refcounted rawObject
func SetDecodeRawObjectImpl ¶
func SetDecodeRawObjectImpl(impl func(rt unsafe.Pointer, cRaw *cffi.BamlObjectHandle) (RawPointer, error))
Types ¶
type RawPointer ¶
type RawPointer interface {
ObjectType() cffi.BamlObjectType
Runtime() unsafe.Pointer
// contains filtered or unexported methods
}
Click to show internal directories.
Click to hide internal directories.