Expose WalkTheStack

git-svn-id: svn://10.0.0.236/trunk@15359 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
kipp%netscape.com
1998-11-26 18:03:20 +00:00
parent 983d848263
commit 2a73c19d2a
6 changed files with 18 additions and 12 deletions

View File

@@ -95,8 +95,8 @@ EnumModulesCB(LPSTR aModuleName,
* the rebasing and accordingly I've made a tool to use it to rebase the
* DLL's in one fell swoop (see xpcom/tools/windows/rebasedlls.cpp).
*/
static void
WalkTheStack(char* aBuffer, int aBufLen)
void
nsTraceRefcnt::WalkTheStack(char* aBuffer, int aBufLen)
{
CONTEXT context;
STACKFRAME frame;
@@ -191,8 +191,8 @@ WalkTheStack(char* aBuffer, int aBufLen)
}
#else /* _WIN32 */
static void
WalkTheStack(char* aBuffer, int aBufLen)
void
nsTraceRefcnt::WalkTheStack(char* aBuffer, int aBufLen)
{
aBuffer[0] = '\0';
}