MCPcopy Create free account
hub / github.com/davisking/dlib / stack_tracer

Method stack_tracer

dlib/stack_trace.cpp:44–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42// ----------------------------------------------------------------------------------------
43
44 stack_tracer::
45 stack_tracer (
46 const char* funct_name,
47 const char* file_name,
48 const int line_number
49 )
50 {
51 stack_tracer_data data;
52 data.funct_name = funct_name;
53 data.file_name = file_name;
54 data.line_number = line_number;
55
56 // pop the info onto the function stack trace
57 get_dlib_stack_trace_stack().push(data);
58 }
59
60// ----------------------------------------------------------------------------------------
61

Callers

nothing calls this directly

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected