Backed out 4 changesets (bug 993282) for bringing back bug 1008357 on a CLOSED TREE.
[gecko.git] / xpcom / base / StackWalk.h
blobc578b700fdde037fea24ea62865bf957247d820f
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/. */
6 /* API for getting a stack trace of the C/C++ */
8 #ifndef StackWalk_h_
9 #define StackWalk_h_
11 // XXX: it would be nice to eventually remove this header dependency on nsStackWalk.h
12 #include "nsStackWalk.h"
14 namespace mozilla {
16 nsresult
17 FramePointerStackWalk(NS_WalkStackCallback aCallback, uint32_t aSkipFrames,
18 uint32_t aMaxFrames, void* aClosure, void** aBp,
19 void* aStackEnd);
23 #endif /* !defined(StackWalk_h_) */