Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
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 **bp,
19 void *stackEnd);
21 }
23 #endif /* !defined(StackWalk_h_) */