xpcom/base/StackWalk.h

branch
TOR_BUG_9701
changeset 15
b8a032363ba2
equal deleted inserted replaced
-1:000000000000 0:46bf2c178c58
1 /* vim: set shiftwidth=4 tabstop=8 autoindent cindent expandtab: */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5
6 /* API for getting a stack trace of the C/C++ */
7
8 #ifndef StackWalk_h_
9 #define StackWalk_h_
10
11 // XXX: it would be nice to eventually remove this header dependency on nsStackWalk.h
12 #include "nsStackWalk.h"
13
14 namespace mozilla {
15
16 nsresult
17 FramePointerStackWalk(NS_WalkStackCallback aCallback, uint32_t aSkipFrames,
18 uint32_t aMaxFrames, void *aClosure, void **bp,
19 void *stackEnd);
20
21 }
22
23 #endif /* !defined(StackWalk_h_) */

mercurial