rendered paste body/* This should really be standard. */
#define ENUM_ENTRY(NAME, DESC) { NAME, "" #NAME "", DESC }
GType
rhythmdb_query_type_get_type (void)
{
static GType etype = 0;
if (etype == 0)
{
static const GEnumValue values[] =
{
ENUM_ENTRY (RHYTHMDB_QUERY_END, "Query end marker"),
ENUM_ENTRY (RHYTHMDB_QUERY_DISJUNCTION, "Disjunctive marker"),
ENUM_ENTRY (RHYTHMDB_QUERY_SUBQUERY, "Subquery"),
ENUM_ENTRY (RHYTHMDB_QUERY_PROP_EQUALS, "Property equivalence"),
{ 0, 0, 0 }
};
etype = g_enum_register_static ("RhythmDBQueryType", values);
}
return etype;
}