mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
elfparser: switch to char
This commit is contained in:
@ -21,13 +21,16 @@
|
||||
|
||||
#include "demangle.h"
|
||||
|
||||
gchar *
|
||||
sysprof_cplus_demangle (const gchar *name)
|
||||
char *
|
||||
sysprof_cplus_demangle (const char *name)
|
||||
{
|
||||
char *real_name;
|
||||
gchar *ret;
|
||||
char *ret;
|
||||
int status;
|
||||
|
||||
if (name == NULL)
|
||||
return NULL;
|
||||
|
||||
real_name = abi::__cxa_demangle (name, 0, 0, &status);
|
||||
|
||||
if (real_name == NULL)
|
||||
|
||||
Reference in New Issue
Block a user