Clarify strlist_join behaviour
This commit is contained in:
parent
90c2291cac
commit
9587d71df3
2
src/rc.h
2
src/rc.h
@ -203,6 +203,8 @@ char *rc_strlist_addsort (char ***list, const char *item);
|
|||||||
char *rc_strlist_addsortc (char ***list, const char *item);
|
char *rc_strlist_addsortc (char ***list, const char *item);
|
||||||
char *rc_strlist_addsortu (char ***list, const char *item);
|
char *rc_strlist_addsortu (char ***list, const char *item);
|
||||||
int rc_strlist_delete (char ***list, const char *item);
|
int rc_strlist_delete (char ***list, const char *item);
|
||||||
|
/* rc_strlist_list_join does a shallow copy of list2 onto list1
|
||||||
|
* and then frees the pointer for list2 (but not the contents) */
|
||||||
int rc_strlist_join (char ***list1, char **list2);
|
int rc_strlist_join (char ***list1, char **list2);
|
||||||
void rc_strlist_reverse (char **list);
|
void rc_strlist_reverse (char **list);
|
||||||
void rc_strlist_free (char **list);
|
void rc_strlist_free (char **list);
|
||||||
|
Loading…
Reference in New Issue
Block a user