From 26f25a80f790a014115dd25e9619d059716bdfbd Mon Sep 17 00:00:00 2001 From: Clecio Jung Date: Sun, 19 Mar 2023 13:40:37 -0300 Subject: Added column to error reporting --- ini_file.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ini_file.h') diff --git a/ini_file.h b/ini_file.h index 0a35d6b..7bd0eaf 100644 --- a/ini_file.h +++ b/ini_file.h @@ -114,7 +114,7 @@ enum Ini_File_Errors { /* Callback used to handle errors and warnings in the parsing of INI files (function ini_file_parse). * In case of an error, this callback is called, and if it returns an integer different from zero, * we end the parsing and return NULL. */ -typedef int (*Ini_File_Error_Callback)(const char *const filename, const size_t line_number, const char *const line, const enum Ini_File_Errors error); +typedef int (*Ini_File_Error_Callback)(const char *const filename, const size_t line_number, const size_t column, const char *const line, const enum Ini_File_Errors error); size_t get_file_size(FILE *const file); /* Remember to free the memory allocated for the returned string */ -- cgit v1.2.3