Blame src/goaidentity/goaidentityenumtypes.c.in

Packit 79f644
/*** BEGIN file-header ***/
Packit 79f644
Packit 79f644
#include <glib-object.h>
Packit 79f644
Packit 79f644
/*** END file-header ***/
Packit 79f644
Packit 79f644
/*** BEGIN file-production ***/
Packit 79f644
#include "@filename@"
Packit 79f644
/* enumerations from "@filename@" */
Packit 79f644
/*** END file-production ***/
Packit 79f644
Packit 79f644
/*** BEGIN value-header ***/
Packit 79f644
GType @enum_name@_get_type (void) G_GNUC_CONST;
Packit 79f644
Packit 79f644
GType
Packit 79f644
@enum_name@_get_type (void)
Packit 79f644
{
Packit 79f644
        static GType etype = 0;
Packit 79f644
Packit 79f644
        if (G_UNLIKELY(etype == 0)) {
Packit 79f644
                static const G@Type@Value values[] = {
Packit 79f644
/*** END value-header ***/
Packit 79f644
Packit 79f644
/*** BEGIN value-production ***/
Packit 79f644
                { @VALUENAME@, "@VALUENAME@", "@valuenick@" },
Packit 79f644
/*** END value-production ***/
Packit 79f644
Packit 79f644
/*** BEGIN value-tail ***/
Packit 79f644
                { 0, NULL, NULL }
Packit 79f644
        };
Packit 79f644
Packit 79f644
        etype = g_@type@_register_static (g_intern_static_string ("@EnumName@"), values);
Packit 79f644
    }
Packit 79f644
Packit 79f644
    return etype;
Packit 79f644
}
Packit 79f644
Packit 79f644
/*** END value-tail ***/
Packit 79f644
Packit 79f644
/*** BEGIN file-tail ***/
Packit 79f644
 /**/
Packit 79f644
/*** END file-tail ***/