Exemple #1
0
static void
test_upper(void)
{
	gchar * _trans(const gchar *s0) {
		gchar *s = g_strdup(s0);
		metautils_str_upper(s);
		return s;
	}
Exemple #2
0
void
hashstr_upper(hashstr_t *hs)
{
	if (unlikely(NULL == hs))
		return;
	metautils_str_upper(hs->s0);
	hs->hl = djb_hash_str(hs->s0);
}