Esempio n. 1
0
/**
 * Test the string is less than or equal to the character string.
 */
bool_t string_less_equal_cstr(const string_t* cpstr_string, const char* s_cstr)
{
    bool_t t_result = false;

    _basic_string_pop_back((basic_string_t*)cpstr_string);
    t_result = basic_string_less_equal_cstr(cpstr_string, s_cstr);
    basic_string_push_back((basic_string_t*)cpstr_string, '\0');

    return t_result;
}
Esempio n. 2
0
/**
 * Test the string is less than or equal to the character string.
 */
bool_t string_less_equal_cstr(const string_t* cpstr_string, const char* s_cstr)
{
    return basic_string_less_equal_cstr(cpstr_string, s_cstr);
}