1 /*** BEGIN file-header ***/
2 #include "gst/gst_private.h"
4 #define C_ENUM(v) ((gint) v)
5 #define C_FLAGS(v) ((guint) v)
7 /*** END file-header ***/
9 /*** BEGIN file-production ***/
10 /* enumerations from "@basename@" */
11 /*** END file-production ***/
13 /*** BEGIN value-header ***/
15 @enum_name@_get_type (void)
18 static const G@Type@Value values[] = {
19 /*** END value-header ***/
21 /*** BEGIN value-production ***/
22 { C_@TYPE@(@VALUENAME@), "@VALUENAME@", "@valuenick@" },
23 /*** END value-production ***/
25 /*** BEGIN value-tail ***/
29 if (g_once_init_enter (&id)) {
30 GType tmp = g_@type@_register_static ("@EnumName@", values);
31 g_once_init_leave (&id, tmp);
37 /*** END value-tail ***/
39 /*** BEGIN file-tail ***/
41 /*** END file-tail ***/