X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Fisl%2Flist.h;h=7275de57eae0e4dd37ccb953d683144aa98f2515;hb=fb240915dac74d3360936b44e66f459f9b878b57;hp=51387c32f13046aada19dce1d58a37cdf96d78f2;hpb=b7d848b49611b6bed2bfb1c7ab329beb54eca31d;p=platform%2Fupstream%2Fisl.git diff --git a/include/isl/list.h b/include/isl/list.h index 51387c3..7275de5 100644 --- a/include/isl/list.h +++ b/include/isl/list.h @@ -22,10 +22,12 @@ struct isl_##EL; \ struct isl_##EL##_list; \ typedef struct isl_##EL##_list isl_##EL##_list; \ isl_ctx *isl_##EL##_list_get_ctx(__isl_keep isl_##EL##_list *list); \ +__isl_give isl_##EL##_list *isl_##EL##_list_from_##EL( \ + __isl_take struct isl_##EL *el); \ __isl_give isl_##EL##_list *isl_##EL##_list_alloc(isl_ctx *ctx, int n); \ __isl_give isl_##EL##_list *isl_##EL##_list_copy( \ __isl_keep isl_##EL##_list *list); \ -void isl_##EL##_list_free(__isl_take isl_##EL##_list *list); \ +void *isl_##EL##_list_free(__isl_take isl_##EL##_list *list); \ __isl_give isl_##EL##_list *isl_##EL##_list_add( \ __isl_take isl_##EL##_list *list, \ __isl_take struct isl_##EL *el); \