From b5006c3a69b3473918be7979bb6a0dfabb9bb597 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Thu, 2 Apr 2015 13:49:09 -0400 Subject: [PATCH] settings: Add prototype for setting_hex_setting --- settings.c | 2 +- settings.h | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/settings.c b/settings.c index 54e96c9cfc..5cab834819 100644 --- a/settings.c +++ b/settings.c @@ -1744,7 +1744,7 @@ rarch_setting_t setting_uint_setting(const char* name, } /** - * setting_uint_setting: + * setting_hex_setting: * @name : name of setting. * @short_description : Short description of setting. * @target : Target of unsigned integer setting. diff --git a/settings.h b/settings.h index 52cb9d4a49..7ef15e6e61 100644 --- a/settings.h +++ b/settings.h @@ -184,6 +184,27 @@ rarch_setting_t setting_uint_setting(const char* name, const char *subgroup, change_handler_t change_handler, change_handler_t read_handler); +/** + * setting_hex_setting: + * @name : name of setting. + * @short_description : Short description of setting. + * @target : Target of unsigned integer setting. + * @default_value : Default value (in unsigned integer format). + * @group : Group that the setting belongs to. + * @subgroup : Subgroup that the setting belongs to. + * @change_handler : Function callback for change handler function pointer. + * @read_handler : Function callback for read handler function pointer. + * + * Initializes a setting of type ST_HEX. + * + * Returns: setting of type ST_HEX. + **/ +rarch_setting_t setting_hex_setting(const char* name, + const char* short_description, unsigned int* target, + unsigned int default_value, const char *group, + const char *subgroup, change_handler_t change_handler, + change_handler_t read_handler); + /** * setting_float_setting: * @name : name of setting.