MCPcopy Create free account
hub / github.com/go-python/gopy / VarFromHandle

Function VarFromHandle

gopyh/handle.go:182–185  ·  view source on GitHub ↗

VarFromHandle gets variable from handle string. Reports error to python but does not return it, for use in inline calls

(h CGoHandle, typnm string)

Source from the content-addressed store, hash-verified

180// Reports error to python but does not return it,
181// for use in inline calls
182func VarFromHandle(h CGoHandle, typnm string) interface{} {
183 v, _ := VarFromHandleTry(h, typnm)
184 return v
185}
186
187// VarFromHandleTry version returns the error explicitly,
188// for use when error can be processed

Callers

nothing calls this directly

Calls 1

VarFromHandleTryFunction · 0.85

Tested by

no test coverage detected