Update documentation for stacktrace_frames

This commit is contained in:
Jeremy 2024-02-27 22:53:16 -06:00
parent c6a60f7172
commit a700b7f7ef
No known key found for this signature in database
GPG Key ID: BE03111EB7ED6E2E
2 changed files with 4 additions and 2 deletions

View File

@ -159,7 +159,8 @@ namespace cpptrace {
using frame_ptr = std::uintptr_t;
struct stacktrace_frame {
frame_ptr address;
frame_ptr raw_address; // address in memory
frame_ptr object_address; // address in the object file
// nullable<T> represents a nullable integer. More docs later.
nullable<std::uint32_t> line;
nullable<std::uint32_t> column;

View File

@ -34,7 +34,8 @@ the parameters.
typedef struct ctrace_stacktrace ctrace_stacktrace;
struct ctrace_stacktrace_frame {
ctrace_frame_ptr address;
ctrace_frame_ptr raw_address;
ctrace_frame_ptr object_address;
uint32_t line;
uint32_t column;
const char* filename;