ui/common/types.c

changeset 13
5a8762fcfecc
parent 3
f154867f54dc
child 18
af411868ab9b
equal deleted inserted replaced
12:3eb0cbab53db 13:5a8762fcfecc
454 454
455 void uic_list_unbind(UiList *l) { 455 void uic_list_unbind(UiList *l) {
456 l->update = NULL; 456 l->update = NULL;
457 l->obj = NULL; 457 l->obj = NULL;
458 } 458 }
459
460
461
462 UiStr ui_str(char *cstr) {
463 return (UiStr) { cstr, NULL };
464 }
465
466 UiStr ui_str_free(char *str, void (*freefunc)(void *v)) {
467 return (UiStr) { str, freefunc };
468 }

mercurial