Quark.gInternStaticString

Returns a canonical representation for string. Interned strings can be compared for equality by comparing the pointers, instead of using strcmp(). g_intern_static_string() does not copy the string, therefore string must not be freed or modified. Since 2.10

class Quark
static
string
gInternStaticString
(
string string
)

Parameters

string string

a static string. [allow-none]

Return Value

Type: string

a canonical representation for the string

Meta