Method

GLibStringequal

Declaration

gboolean
g_string_equal (
  const GString* v,
  const GString* v2
)

Description

Compares two strings for equality, returning TRUE if they are equal. For use with GHashTable.

Parameters

v2

Type: GString

Another GString.

The data is owned by the caller of the function.

Return value

Type: gboolean

TRUE if the strings are the same length and contain the same bytes.