diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-09-05 11:04:42 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-09-06 09:17:26 +0200 |
commit | 796c494d78a851aae7d58e0720f64984cb5716de (patch) | |
tree | b867736e46945b3cb5b5e4f963090939a8535172 /include | |
parent | 176a723876b0138debb20f824103b2ab0c910401 (diff) |
Clean up sal/backtrace.hxx
Change-Id: Id78e9c0ca29ff2e52591f3d446431ac23c20ab7a
Reviewed-on: https://gerrit.libreoffice.org/41926
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/sal/backtrace.hxx | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/include/sal/backtrace.hxx b/include/sal/backtrace.hxx index f437a3b73620..f471549b7f7a 100644 --- a/include/sal/backtrace.hxx +++ b/include/sal/backtrace.hxx @@ -23,20 +23,25 @@ a small handful of recorded stack traces. @param backtraceDepth value indicating the maximum backtrace depth; must be > 0 + + @since LibreOffice 6.0 */ #if defined LIBO_INTERNAL_ONLY +namespace sal { + struct BacktraceState { void** buffer; int nDepth; ~BacktraceState() {delete[] buffer;} }; -SAL_DLLPUBLIC std::unique_ptr<BacktraceState> SAL_CALL sal_backtrace_get( +SAL_DLLPUBLIC std::unique_ptr<BacktraceState> backtrace_get( sal_uInt32 backtraceDepth); -SAL_DLLPUBLIC OUString SAL_CALL sal_backtrace_to_string( - BacktraceState* backtraceState); +SAL_DLLPUBLIC OUString backtrace_to_string(BacktraceState* backtraceState); + +} #endif |