diff options
| author | Clecio Jung | 2023-03-19 13:40:37 -0300 |
|---|---|---|
| committer | Clecio Jung | 2023-03-19 13:40:37 -0300 |
| commit | 26f25a80f790a014115dd25e9619d059716bdfbd (patch) | |
| tree | 51605e8ef0b09eaeba581c0286460ac52ef40bf2 /ini_file.h | |
| parent | 852e58a3e6d82362b66ace7f35056ba6693795c3 (diff) | |
| download | libini-26f25a80f790a014115dd25e9619d059716bdfbd.tar.xz libini-26f25a80f790a014115dd25e9619d059716bdfbd.tar.zst | |
Added column to error reporting
Diffstat (limited to 'ini_file.h')
| -rw-r--r-- | ini_file.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ |
