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

Function deref

bridge.go:350–360  ·  view source on GitHub ↗
(value reflect.Value)

Source from the content-addressed store, hash-verified

348}
349
350func deref(value reflect.Value) reflect.Value {
351 for {
352 switch value.Kind() {
353 case reflect.Ptr, reflect.Interface:
354 value = value.Elem()
355 continue
356 }
357 return value
358 }
359 panic("cannot happen")
360}
361
362//export hookGoValueReadField
363func hookGoValueReadField(enginep, foldp unsafe.Pointer, reflectIndex, getIndex, setIndex C.int, resultdv *C.DataValue) {

Callers 2

hookGoValueReadFieldFunction · 0.85
listSliceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected