MCPcopy
hub / github.com/go-qml/qml / listSlice

Function listSlice

bridge.go:634–637  ·  view source on GitHub ↗
(fold *valueFold, reflectIndex C.intptr_t)

Source from the content-addressed store, hash-verified

632}
633
634func listSlice(fold *valueFold, reflectIndex C.intptr_t) *[]Object {
635 field := deref(reflect.ValueOf(fold.gvalue)).Field(int(reflectIndex))
636 return field.Addr().Interface().(*[]Object)
637}
638
639//export hookListPropertyAt
640func hookListPropertyAt(foldp unsafe.Pointer, reflectIndex, setIndex C.intptr_t, index C.int) (objp unsafe.Pointer) {

Callers 4

hookListPropertyAtFunction · 0.85
hookListPropertyCountFunction · 0.85
hookListPropertyAppendFunction · 0.85
hookListPropertyClearFunction · 0.85

Calls 3

derefFunction · 0.85
InterfaceMethod · 0.65
AddrMethod · 0.65

Tested by

no test coverage detected