Zen API

- Home
- Topics
- Types
- Files

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 #include <kApi/Utils/kBackTrace.x.h>
15
22 //typedef kObject kBackTrace; --forward-declared in kApiDef.x.h
23
35 kFx(kStatus) kBackTrace_Construct(kBackTrace* trace, kAlloc allocator);
36
49 kFx(kStatus) kBackTrace_Capture(kBackTrace trace, kSize skip);
50
58 kFx(kSize) kBackTrace_Depth(kBackTrace trace);
59
69 kFx(kStatus) kBackTrace_Describe(kBackTrace trace, kArrayList* lines, kAlloc allocator);
70
71 #endif
kBackTrace::kBackTrace_Describe
kStatus kBackTrace_Describe(kBackTrace trace, kArrayList *lines, kAlloc allocator)
Creates a list of descriptive strings, one for each line in the trace.
kBackTrace::kBackTrace_Depth
kSize kBackTrace_Depth(kBackTrace trace)
Count of function calls in the captured trace.
kBackTrace::kBackTrace_Capture
kStatus kBackTrace_Capture(kBackTrace trace, kSize skip)
Captures back trace information.
kBackTrace::kBackTrace_Construct
kStatus kBackTrace_Construct(kBackTrace *trace, kAlloc allocator)
Constructs a kBackTrace object.
kSize
Represents an unsigned integer that can store a pointer address.
kAlloc
Abstract base class for memory allocator types.
kApiDef.h
Core Zen type declarations.
kBackTrace
Represents a snapshot of the active functions on a call stack.
kArrayList
Represents a list implemented with a dynamic array.
kStatus
Represents an error code.