[AD] Config routines, alpha 5 |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
Another alpha for your pleasure :) Changes: - The write hook is now effectively called *after* the variable has been set to its new value. - All al_set_* and al_get_* functions now accept variable arguments; I was also forced to change their syntax in order to support this, so now you have: al_set_bool(value, key, ...); al_get_bool(default_value_on_errors, key, ...); - Added al_get_type returning the type of given entry (ENTRY_TYPE_UNKNOWN on error). - Added al_enum_config_keys, returning a list of key names matching specified path. - The code is now a bit more commented. ToDo: - al_load_config/al_save_config: I'm still waiting for this so we can better discuss about related issues. - more al_set_*/al_get_* functions: al_set/get_args come to mind. - unicode support. UTF8 by default? - ? Angelo Mottola a.mottola@xxxxxxxxxx http://www.ecplusplus.com
Attachment:
config5.c
Description: Binary data
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |