ui/common/wrapper.c

changeset 700
7032f69a325c
parent 693
3e1cd004da0a
child 736
3ad4792ffadc
equal deleted inserted replaced
699:148618eff948 700:7032f69a325c
238 238
239 void ui_list_selection_free(UiListSelection *sel) { 239 void ui_list_selection_free(UiListSelection *sel) {
240 ui_listselection_free(*sel); 240 ui_listselection_free(*sel);
241 free(sel); 241 free(sel);
242 } 242 }
243
244 /* ---------------------------- UiFileList ---------------------------- */
245
246 int ui_filelist_count(UiFileList *flist) {
247 return flist->nfiles;
248 }
249
250 char* ui_filelist_get(UiFileList *flist, int index) {
251 if(index >= 0 && index < flist->nfiles) {
252 return flist->files[index];
253 }
254 return NULL;
255 }

mercurial