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

Function hookListPropertyAt

bridge.go:640–644  ·  view source on GitHub ↗

export hookListPropertyAt

(foldp unsafe.Pointer, reflectIndex, setIndex C.intptr_t, index C.int)

Source from the content-addressed store, hash-verified

638
639//export hookListPropertyAt
640func hookListPropertyAt(foldp unsafe.Pointer, reflectIndex, setIndex C.intptr_t, index C.int) (objp unsafe.Pointer) {
641 fold := (*valueFold)(foldp)
642 slice := listSlice(fold, reflectIndex)
643 return (*slice)[int(index)].Common().addr
644}
645
646//export hookListPropertyCount
647func hookListPropertyCount(foldp unsafe.Pointer, reflectIndex, setIndex C.intptr_t) C.int {

Callers

nothing calls this directly

Calls 2

listSliceFunction · 0.85
CommonMethod · 0.65

Tested by

no test coverage detected