Rename the value string functions to be a bit mroe sensible
This commit is contained in:
+2
-2
@@ -4,7 +4,7 @@
|
||||
#include "ucore/saturating_math.h"
|
||||
|
||||
|
||||
const char *uc_vs_search(unsigned int val, const struct UCValStr *array)
|
||||
const char *uc_val_2_str(unsigned int val, const struct UCValStr *array)
|
||||
{
|
||||
const char *found = NULL;
|
||||
|
||||
@@ -19,7 +19,7 @@ const char *uc_vs_search(unsigned int val, const struct UCValStr *array)
|
||||
return found;
|
||||
}
|
||||
|
||||
const char *uc_vs_bsearch(unsigned int val,
|
||||
const char *uc_val_2_str_bs(unsigned int val,
|
||||
const struct UCValStr *array,
|
||||
size_t array_len)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user