Zrythm
a highly automated and intuitive digital audio workstation
Toggle main menu visibility
Main Page
Related Pages
Topics
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
e
f
g
i
m
p
r
t
w
z
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
z
Variables
Typedefs
Enumerations
a
b
c
e
f
g
i
k
m
n
p
r
s
t
u
z
Enumerator
a
u
z
Macros
_
a
b
c
d
e
f
h
i
k
m
p
r
s
t
u
v
z
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
Loading...
Searching...
No Matches
backtrace.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: © 2020 Alexandros Theodotou <alex@zrythm.org>
3
*
4
* SPDX-License-Identifier: LicenseRef-ZrythmLicense
5
*/
6
13
#ifndef __UTILS_BACKTRACE_H__
14
#define __UTILS_BACKTRACE_H__
15
31
char
*
32
_backtrace_get
(
33
const
char
* exe_path,
34
const
char
* prefix,
35
int
max_lines,
36
bool
with_lines,
37
bool
write_to_file);
38
39
#define backtrace_get(prefix, max_lines, write_to_file) \
40
_backtrace_get (NULL, prefix, max_lines, false, write_to_file)
41
42
#define backtrace_get_with_lines(prefix, max_lines, write_to_file) \
43
_backtrace_get ( \
44
(gZrythm && gZrythm->exe_path_) ? gZrythm->exe_path_ : NULL, prefix, \
45
max_lines, gZrythm && gZrythm->exe_path_ ? true : false, write_to_file)
46
51
#endif
_backtrace_get
char * _backtrace_get(const char *exe_path, const char *prefix, int max_lines, bool with_lines, bool write_to_file)
Returns the backtrace with max_lines number of lines and a string prefix.
utils
backtrace.h
Generated by
1.11.0