Re: [PATCH 07/40] util: Add helpers for auto-freeing GSList filled with strings

2021-02-09 Thread Michal Privoznik
On 2/9/21 3:48 PM, Peter Krempa wrote: On Tue, Feb 09, 2021 at 15:22:40 +0100, Michal Privoznik wrote: On 2/6/21 9:32 AM, Peter Krempa wrote: glib's 'g_autoslist()' doesn't support lists of 'char *' strings. Add a type alias 'virGSListString' so that we can register an 'autoptr' function for it

Re: [PATCH 07/40] util: Add helpers for auto-freeing GSList filled with strings

2021-02-09 Thread Peter Krempa
On Tue, Feb 09, 2021 at 15:22:40 +0100, Michal Privoznik wrote: > On 2/6/21 9:32 AM, Peter Krempa wrote: > > glib's 'g_autoslist()' doesn't support lists of 'char *' strings. Add a > > type alias 'virGSListString' so that we can register an 'autoptr' > > function for it for simple usage of GSList w

Re: [PATCH 07/40] util: Add helpers for auto-freeing GSList filled with strings

2021-02-09 Thread Ján Tomko
On a Tuesday in 2021, Michal Privoznik wrote: On 2/6/21 9:32 AM, Peter Krempa wrote: glib's 'g_autoslist()' doesn't support lists of 'char *' strings. Add a type alias 'virGSListString' so that we can register an 'autoptr' function for it for simple usage of GSList with strings. Signed-off-by:

Re: [PATCH 07/40] util: Add helpers for auto-freeing GSList filled with strings

2021-02-09 Thread Michal Privoznik
On 2/6/21 9:32 AM, Peter Krempa wrote: glib's 'g_autoslist()' doesn't support lists of 'char *' strings. Add a type alias 'virGSListString' so that we can register an 'autoptr' function for it for simple usage of GSList with strings. Signed-off-by: Peter Krempa --- src/libvirt_private.syms |

[PATCH 07/40] util: Add helpers for auto-freeing GSList filled with strings

2021-02-06 Thread Peter Krempa
glib's 'g_autoslist()' doesn't support lists of 'char *' strings. Add a type alias 'virGSListString' so that we can register an 'autoptr' function for it for simple usage of GSList with strings. Signed-off-by: Peter Krempa --- src/libvirt_private.syms | 4 src/util/meson.build | 1 +