libt3highlight
Data Fields
t3_highlight_error_t Struct Reference

A struct with error information. More...

Data Fields

char * extra
 Further information about the error or NULL, but only if T3_HIGHLIGHT_VERBOSE_ERROR is set. More...
 
char * file_name
 File name in which the error occured or NULL, but only if T3_HIGHLIGHT_VERBOSE_ERROR is set. More...
 
int line_number
 Line number where the error occured, but only if T3_HIGHLIGHT_VERBOSE_ERROR is set. More...
 

Detailed Description

A struct with error information.

The error member is always filled in, all other members are dependent on the T3_HIGHLIGHT_VERBOSE_ERROR flag.

Field Documentation

◆ extra

char* t3_highlight_error_t::extra

Further information about the error or NULL, but only if T3_HIGHLIGHT_VERBOSE_ERROR is set.

Must be Free'd.

◆ file_name

char* t3_highlight_error_t::file_name

File name in which the error occured or NULL, but only if T3_HIGHLIGHT_VERBOSE_ERROR is set.

Must be Free'd.

◆ line_number

int t3_highlight_error_t::line_number

Line number where the error occured, but only if T3_HIGHLIGHT_VERBOSE_ERROR is set.