mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof-analyze: use ref strings internally
This gives us a bit more control than the string chunk, so long as we can rely on the allocator to do something nice.
This commit is contained in:
@ -20,9 +20,11 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "sysprof-document.h"
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
const char *sysprof_document_intern_string (SysprofDocument *self,
|
||||
const char *name);
|
||||
char *_sysprof_document_ref_string (SysprofDocument *self,
|
||||
const char *name);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
Reference in New Issue
Block a user