Mercurial > code
diff ini.h @ 105:eac1f370910a
English review (thanks afranke@)
author | David Demelier <markand@malikania.fr> |
---|---|
date | Tue, 24 Jan 2012 16:26:25 +0100 |
parents | 735d6c774f7a |
children | 07800b7af208 |
line wrap: on
line diff
--- a/ini.h Tue Jan 17 13:51:33 2012 +0100 +++ b/ini.h Tue Jan 24 16:26:25 2012 +0100 @@ -31,7 +31,7 @@ typedef void (*INI_ConvertFunc)(void *, const char *, void *); /* -------------------------------------------------------- - * structure definitions + * Structure definitions * -------------------------------------------------------- */ struct ini_config { @@ -45,7 +45,7 @@ /* Private fields */ INI_Section *_current; /* current working section */ char *_line; /* line buffer */ - int _lineno; /* number of line */ + int _lineno; /* number of current line */ int _linesize; /* initial line size */ int _ignore; /* must ignore (no redefine) */ }; @@ -72,7 +72,7 @@ }; /* -------------------------------------------------------- - * INI_Config functions. + * Main functions * -------------------------------------------------------- */ INI_Config * @@ -94,11 +94,11 @@ ini_free(INI_Config *, int, int); /* -------------------------------------------------------- - * convenient api to query and convert data + * Convenient api to query and convert data * -------------------------------------------------------- */ /* - * For the config, read all available value and store them in + * For the config, read all available values and store them in * the array ini_handler. */ @@ -115,7 +115,7 @@ ini_convert_bool(void *, const char *, void *); /* - * Convert to a int. dst must be (int *). + * Convert to an int. dst must be (int *). */ void @@ -130,7 +130,7 @@ /* * Convert to a char *. dst must be (char **). This - * function use strdup() you need to free the dst + * function uses strdup(). You need to free the dst * pointer. */