raw_objects

package
v0.202.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 16, 2025 License: Apache-2.0, Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CallMethod

func CallMethod(object RawPointer, method_name string, kwargs map[string]any) (any, error)

func EncodeRawObject

func EncodeRawObject(object RawPointer) *cffi.CFFIRawObject

func NewRawObject

func NewRawObject(objectType cffi.CFFIObjectType, kwargs []*cffi.CFFIMapEntry) (any, error)

newRawObject creates a new refcounted rawObject

func SetDecodeRawObjectImpl

func SetDecodeRawObjectImpl(impl func(cRaw *cffi.CFFIRawObject) (RawPointer, error))

Types

type RawObject

type RawObject struct {
	// contains filtered or unexported fields
}

func FromPointer

func FromPointer(ptr int64) *RawObject

func (*RawObject) Pointer

func (r *RawObject) Pointer() int64

type RawPointer

type RawPointer interface {
	ObjectType() cffi.CFFIObjectType
	// contains filtered or unexported methods
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL