diff -r b943e3d618f0 -r 150a1180f7ec ui/common/wrapper.c --- a/ui/common/wrapper.c Thu Oct 02 14:49:17 2025 +0200 +++ b/ui/common/wrapper.c Thu Oct 02 14:49:27 2025 +0200 @@ -299,3 +299,22 @@ void ui_textstyle_enable_color(UiTextStyle *style, UiBool enable) { style->fg_set = enable; } + + +/* ---------------------------- UiCellValue ---------------------------- */ + +UiBool ui_cell_value_is_string(UiCellValue *value) { + return value->type == UI_STRING_EDITABLE; +} + +UiBool ui_cell_value_is_int(UiCellValue *value) { + return FALSE; // TODO +} + +const char* ui_cell_value_get_string(UiCellValue *value) { + return value->string; +} + +int64_t ui_cell_value_get_int(UiCellValue *value) { + return value->i; +}