Re: [PATCH v10 1/4] string-list: add string_list initializer helper function

2014-07-18 Thread Junio C Hamano
Tanay Abhra writes: > The string-list API has STRING_LIST_INIT_* macros to be used > to define variables with initializers, but lacks functions > to initialise an uninitialized piece of memory to be used as > a string-list at the run-time. > Introduce `string_list_init()` function for that. > > S

[PATCH v10 1/4] string-list: add string_list initializer helper function

2014-07-18 Thread Tanay Abhra
The string-list API has STRING_LIST_INIT_* macros to be used to define variables with initializers, but lacks functions to initialise an uninitialized piece of memory to be used as a string-list at the run-time. Introduce `string_list_init()` function for that. Signed-off-by: Tanay Abhra --- Doc