void _type_copy_cstr(const void* cpv_first, const void* cpv_second, void* pv_output)
{
    assert(cpv_first != NULL && cpv_second != NULL && pv_output != NULL);
    basic_string_assign((basic_string_t*)cpv_first, (basic_string_t*)cpv_second);
    //string_assign((string_t*)cpv_first, (string_t*)cpv_second);
    *(bool_t*)pv_output = true;
}
Пример #2
0
/**
 * Assign string character with an exist string container.
 */
void string_assign(string_t* pstr_dest, const string_t* cpstr_src)
{
    basic_string_assign(pstr_dest, cpstr_src);
}