aboutsummaryrefslogtreecommitdiff
path: root/ini_file.h
diff options
context:
space:
mode:
authorClecio Jung2023-03-19 13:40:37 -0300
committerClecio Jung2023-03-19 13:40:37 -0300
commit26f25a80f790a014115dd25e9619d059716bdfbd (patch)
tree51605e8ef0b09eaeba581c0286460ac52ef40bf2 /ini_file.h
parent852e58a3e6d82362b66ace7f35056ba6693795c3 (diff)
downloadlibini-26f25a80f790a014115dd25e9619d059716bdfbd.tar.xz
libini-26f25a80f790a014115dd25e9619d059716bdfbd.tar.zst
Added column to error reporting
Diffstat (limited to 'ini_file.h')
-rw-r--r--ini_file.h2
1 files changed, 1 insertions, 1 deletions
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 */