1 /*** BEGIN file-header ***/
7 #include "gst-validate-enum-types.h"
8 #include <gst/validate/validate.h>
9 #define C_ENUM(v) ((gint) v)
10 #define C_FLAGS(v) ((guint) v)
12 /*** END file-header ***/
14 /*** BEGIN file-production ***/
15 /* enumerations from "@basename@" */
16 /*** END file-production ***/
18 /*** BEGIN value-header ***/
20 @enum_name@_get_type (void)
23 static const G@Type@Value values[] = {
24 /*** END value-header ***/
26 /*** BEGIN value-production ***/
27 { C_@TYPE@(@VALUENAME@), "@VALUENAME@", "@valuenick@" },
28 /*** END value-production ***/
30 /*** BEGIN value-tail ***/
34 if (g_once_init_enter (&id)) {
35 GType tmp = g_@type@_register_static ("@EnumName@", values);
36 g_once_init_leave (&id, tmp);
42 /*** END value-tail ***/
44 /*** BEGIN file-tail ***/
46 /*** END file-tail ***/