mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof-capture: Rewrite list_files() to avoid GHashTable/GPtrArray
This changes its API and ABI: it now returns an allocated array of const strings, rather than an allocated array of allocated strings. The call sites in the source tree have been adjusted accordingly. Signed-off-by: Philip Withnall <withnall@endlessm.com> Helps: #40
This commit is contained in:
@ -747,7 +747,7 @@ test_reader_writer_file (void)
|
||||
{
|
||||
g_autofree gchar *data = NULL;
|
||||
GByteArray *buf = g_byte_array_new ();
|
||||
g_auto(GStrv) files = NULL;
|
||||
g_autofree const gchar **files = NULL;
|
||||
SysprofCaptureWriter *writer;
|
||||
SysprofCaptureReader *reader;
|
||||
SysprofCaptureFrameType type;
|
||||
|
||||
Reference in New Issue
Block a user