LibreOffice Module sal (master)
1
include
sal
backtrace.hxx
Go to the documentation of this file.
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
/*
3
* This file is part of the LibreOffice project.
4
*
5
* This Source Code Form is subject to the terms of the Mozilla Public
6
* License, v. 2.0. If a copy of the MPL was not distributed with this
7
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
8
*/
9
10
#ifndef INCLUDED_SAL_BACKTRACE_HXX
11
#define INCLUDED_SAL_BACKTRACE_HXX
12
13
#include "
sal/config.h
"
14
#include "
sal/saldllapi.h
"
15
#include "
sal/types.h
"
16
#include "rtl/ustring.hxx"
17
#include <memory>
18
20
29
#if defined LIBO_INTERNAL_ONLY
30
31
namespace
sal
32
{
33
struct
BacktraceState
34
{
35
void
** buffer;
36
int
nDepth;
37
~BacktraceState() {
delete
[] buffer; }
38
};
39
40
SAL_DLLPUBLIC
std::unique_ptr<BacktraceState> backtrace_get(sal_uInt32 backtraceDepth);
41
42
SAL_DLLPUBLIC
OUString backtrace_to_string(BacktraceState* backtraceState);
43
}
44
45
#endif
46
47
#endif
48
49
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
config.h
sal
saldllapi.h
SAL_DLLPUBLIC
#define SAL_DLLPUBLIC
Definition:
saldllapi.h:34
types.h
Generated on Sun Jul 30 2023 04:33:47 for LibreOffice Module sal (master) by
1.9.3