refactor: follow naming conventions
This commit is contained in:
parent
d54c495388
commit
c6f2737527
1 changed files with 3 additions and 3 deletions
|
|
@ -447,7 +447,7 @@ class clutchlog
|
||||||
|
|
||||||
#if CLUTCHLOG_HAVE_UNIX_SYSINFO == 1
|
#if CLUTCHLOG_HAVE_UNIX_SYSINFO == 1
|
||||||
/** Maximum buffer size for backtrace message. */
|
/** Maximum buffer size for backtrace message. */
|
||||||
static const size_t max_buffer = 4096;
|
static const size_t _max_buffer = 4096;
|
||||||
#endif
|
#endif
|
||||||
/** @}*/
|
/** @}*/
|
||||||
|
|
||||||
|
|
@ -589,8 +589,8 @@ class clutchlog
|
||||||
/***** Stack depth *****/
|
/***** Stack depth *****/
|
||||||
// Backtrace in second, quite fast.
|
// Backtrace in second, quite fast.
|
||||||
size_t stack_depth;
|
size_t stack_depth;
|
||||||
void *buffer[max_buffer];
|
void *buffer[_max_buffer];
|
||||||
stack_depth = backtrace(buffer, max_buffer);
|
stack_depth = backtrace(buffer, _max_buffer);
|
||||||
scope.depth = stack_depth;
|
scope.depth = stack_depth;
|
||||||
if(not (scope.depth <= _depth + _strip_calls)) {
|
if(not (scope.depth <= _depth + _strip_calls)) {
|
||||||
// Bypass if no match.
|
// Bypass if no match.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue