()
| 16 | type TableString string |
| 17 | |
| 18 | func (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 |