1
0
mirror of https://github.com/libretro/RetroArch synced 2024-07-08 20:25:47 +00:00

settings: Add prototype for setting_hex_setting

This commit is contained in:
Lioncash 2015-04-02 13:49:09 -04:00
parent 119dcdd163
commit b5006c3a69
2 changed files with 22 additions and 1 deletions

View File

@ -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.

View File

@ -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.