Change menu_navigation_get_selection's return type to size_t
This commit is contained in:
parent
dbccc4f4f0
commit
25258354b4
|
@ -254,7 +254,7 @@ void menu_navigation_ascend_alphabet(menu_navigation_t *nav, size_t *ptr_out)
|
||||||
menu_driver_navigation_ascend_alphabet(ptr_out);
|
menu_driver_navigation_ascend_alphabet(ptr_out);
|
||||||
}
|
}
|
||||||
|
|
||||||
ssize_t menu_navigation_get_selection(menu_navigation_t *nav)
|
size_t menu_navigation_get_selection(menu_navigation_t *nav)
|
||||||
{
|
{
|
||||||
if (!nav)
|
if (!nav)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
|
@ -106,7 +106,7 @@ void menu_navigation_descend_alphabet(menu_navigation_t *nav, size_t *ptr_out);
|
||||||
**/
|
**/
|
||||||
void menu_navigation_ascend_alphabet(menu_navigation_t *nav, size_t *ptr_out);
|
void menu_navigation_ascend_alphabet(menu_navigation_t *nav, size_t *ptr_out);
|
||||||
|
|
||||||
ssize_t menu_navigation_get_selection(menu_navigation_t *nav);
|
size_t menu_navigation_get_selection(menu_navigation_t *nav);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue