diff options
Diffstat (limited to 'ini/ini_configobj.h')
-rw-r--r-- | ini/ini_configobj.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/ini/ini_configobj.h b/ini/ini_configobj.h index 5b4fc81..a186ac0 100644 --- a/ini/ini_configobj.h +++ b/ini/ini_configobj.h @@ -345,10 +345,12 @@ * * @{ */ -/** @brief Get the first value (default). */ -#define INI_GET_FIRST_VALUE 0 -/** @brief Look for the next value in the section */ -#define INI_GET_NEXT_VALUE 1 +/** Enumeration of parsing errors. */ +enum INI_GET { + INI_GET_FIRST_VALUE, /**< Get the first value (default). */ + INI_GET_NEXT_VALUE, /**< Look for the next value in the section */ + INI_GET_LAST_VALUE /**< Look for the last value in the section */ +}; /** * @} |