|
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_) */ |