mirror of
https://github.com/libretro/RetroArch
synced 2025-02-02 14:54:10 +00:00
Merge pull request #1572 from lioncash/prototype
settings: Add prototype for setting_hex_setting
This commit is contained in:
commit
5a72309126
@ -1744,7 +1744,7 @@ rarch_setting_t setting_uint_setting(const char* name,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* setting_uint_setting:
|
* setting_hex_setting:
|
||||||
* @name : name of setting.
|
* @name : name of setting.
|
||||||
* @short_description : Short description of setting.
|
* @short_description : Short description of setting.
|
||||||
* @target : Target of unsigned integer setting.
|
* @target : Target of unsigned integer setting.
|
||||||
|
21
settings.h
21
settings.h
@ -184,6 +184,27 @@ rarch_setting_t setting_uint_setting(const char* name,
|
|||||||
const char *subgroup, change_handler_t change_handler,
|
const char *subgroup, change_handler_t change_handler,
|
||||||
change_handler_t read_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:
|
* setting_float_setting:
|
||||||
* @name : name of setting.
|
* @name : name of setting.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user