MCPcopy Create free account
hub / github.com/andlabs/ui / toLibui

Method toLibui

tablemodel.go:18–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16type TableString string
17
18func (s TableString) toLibui() *C.uiTableValue {
19 cs := C.CString(string(s))
20 defer freestr(cs)
21 return C.uiNewTableValueString(cs)
22}
23
24// TableImage is a TableValue that represents an Image. Ownership
25// of the Image is not copied; you must keep it alive alongside the

Callers

nothing calls this directly

Calls 1

freestrFunction · 0.85

Tested by

no test coverage detected