Allow calling with NULL _isObjectMethod parameter.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31245 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
43b0f7e0d7
commit
0f5f9d47b9
@ -3674,6 +3674,10 @@ const char*
|
||||
demangle_symbol_gcc3(const char* mangledName, char* buffer, size_t bufferSize,
|
||||
bool* _isObjectMethod)
|
||||
{
|
||||
bool isObjectMethod;
|
||||
if (_isObjectMethod == NULL)
|
||||
_isObjectMethod = &isObjectMethod;
|
||||
|
||||
Demangler demangler;
|
||||
DemanglingInfo info(true);
|
||||
if (demangler.Demangle(mangledName, buffer, bufferSize, info) != ERROR_OK)
|
||||
|
Loading…
x
Reference in New Issue
Block a user