Age | Commit message (Collapse) | Author |
|
We can use the `i` member instead.
|
|
|
|
the null entry with -1 in `config_opts`.
|
|
This data structure holds all of the variables set by
the config file options.
|
|
`offset` is the offset of the member of the config
option in the `config` struct.
This was done in order to allow for setting any member
of the config struct with just a single function.
|
|
added `TYPE_COUNT` at the end of `config_type`.
This is to allow for any iterators that need to count
upto the total number of types to just to count up to
`TYPE_COUNT`.
|
|
|
|
This is so that I don't have to cast the variable as a
`void *`, and make it easier to read.
I also added `TYPE_NONE` to the `config_type` enum for
denoting that the config option doesn't take a value.
|
|
|