michael@0: /* vim: set shiftwidth=4 tabstop=8 autoindent cindent expandtab: */ michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: /* API for getting a stack trace of the C/C++ */ michael@0: michael@0: #ifndef StackWalk_h_ michael@0: #define StackWalk_h_ michael@0: michael@0: // XXX: it would be nice to eventually remove this header dependency on nsStackWalk.h michael@0: #include "nsStackWalk.h" michael@0: michael@0: namespace mozilla { michael@0: michael@0: nsresult michael@0: FramePointerStackWalk(NS_WalkStackCallback aCallback, uint32_t aSkipFrames, michael@0: uint32_t aMaxFrames, void *aClosure, void **bp, michael@0: void *stackEnd); michael@0: michael@0: } michael@0: michael@0: #endif /* !defined(StackWalk_h_) */