Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kBackTrace.h
Go to the documentation of this file.
1 
10 #ifndef K_API_BACK_TRACE_H
11 #define K_API_BACK_TRACE_H
12 
13 #include <kApi/kApiDef.h>
14 
15 kBeginHeader()
16 
17 
23 //typedef kObject kBackTrace; --forward-declared in kApiDef.x.h
24 
25 
36 kFx(kStatus) kBackTrace_Construct(kBackTrace* trace, kAlloc allocator);
37 
50 kFx(kStatus) kBackTrace_Capture(kBackTrace trace, kSize skip);
51 
59 kFx(kSize) kBackTrace_Depth(kBackTrace trace);
60 
70 kFx(kStatus) kBackTrace_Describe(kBackTrace trace, kArrayList* lines, kAlloc allocator);
71 
72 kEndHeader()
73 
74 #include <kApi/Utils/kBackTrace.x.h>
75 
76 #endif
kStatus kBackTrace_Describe(kBackTrace trace, kArrayList *lines, kAlloc allocator)
Creates a list of descriptive strings, one for each line in the trace.
kSize kBackTrace_Depth(kBackTrace trace)
Count of function calls in the captured trace.
kStatus kBackTrace_Capture(kBackTrace trace, kSize skip)
Captures back trace information.
kStatus kBackTrace_Construct(kBackTrace *trace, kAlloc allocator)
Constructs a kBackTrace object.
Represents an unsigned integer that can store a pointer address.
Abstract base class for memory allocator types.
Core Zen type declarations.
Represents a snapshot of the active functions on a call stack.
Represents a list implemented with a dynamic array.
Represents an error code.