Cthulhu  0.2.10
Cthulhu compiler collection
Source location information

Source location information for panics and other debugging information. More...

Collaboration diagram for Source location information:

Data Structures

struct  source_info_t
 panic location information More...
 

Macros

#define CT_PRI_LINE   PRIuFAST32
 format specifier for source_line_t More...
 
#define CT_LINE_UNKNOWN   UINT_FAST32_MAX
 a line number that is unknown More...
 
#define CT_SOURCE_CURRENT   {__FILE__, __LINE__, CT_FUNCTION_NAME}
 the source location of the current line More...
 

Typedefs

typedef uint_fast32_t source_line_t
 the line number in the source file More...
 

Detailed Description

Source location information for panics and other debugging information.

Macro Definition Documentation

◆ CT_LINE_UNKNOWN

#define CT_LINE_UNKNOWN   UINT_FAST32_MAX

a line number that is unknown

Definition at line 22 of file source_info.h.

◆ CT_PRI_LINE

#define CT_PRI_LINE   PRIuFAST32

format specifier for source_line_t

Definition at line 19 of file source_info.h.

◆ CT_SOURCE_CURRENT

#define CT_SOURCE_CURRENT   {__FILE__, __LINE__, CT_FUNCTION_NAME}

the source location of the current line

Definition at line 40 of file source_info.h.

Typedef Documentation

◆ source_line_t

typedef uint_fast32_t source_line_t

the line number in the source file

Definition at line 16 of file source_info.h.