函数
GLibstrv_equal
自:2.60
声明 [src]
gboolean
g_strv_equal (
const gchar* const* strv1,
const gchar* const* strv2
)
描述 [src]
检查两个字符串数组是否完全按照相同的顺序包含完全相同的元素。
使用 g_str_equal() 比较元素。为匹配顺序无关性,请先对数组进行排序(使用 g_qsort_with_data() 或类似方法)。
两个空数组被认为是相等的。strv1 和 strv2 均不得为 NULL。
自 2.60 起提供: