1/*** BEGIN file-header ***/ 2#ifdef HAVE_CONFIG_H 3#include "config.h" 4#endif 5 6/* We need to undefine this so that we will be sure to include 7 * cogl-path.h instead of cogl2-path.h when we include the framebuffer 8 * header. Otherwise it will include both headers and it won't 9 * compile. */ 10#undef COGL_ENABLE_EXPERIMENTAL_2_0_API 11 12#include "cogl-enum-types.h" 13/*** END file-header ***/ 14 15/*** BEGIN file-production ***/ 16 17/* enumerations from "@filename@" */ 18#include "@filename@" 19 20/*** END file-production ***/ 21 22/*** BEGIN value-header ***/ 23GType 24@enum_name@_get_type (void) 25{ 26 static volatile gsize g_enum_type_id__volatile = 0; 27 28 if (g_once_init_enter (&g_enum_type_id__volatile)) 29 { 30 static const G@Type@Value values[] = { 31/*** END value-header ***/ 32 33/*** BEGIN value-production ***/ 34 { @VALUENAME@, "@VALUENAME@", "@valuenick@" }, 35/*** END value-production ***/ 36 37/*** BEGIN value-tail ***/ 38 { 0, NULL, NULL } 39 }; 40 GType g_enum_type_id; 41 42 g_enum_type_id = 43 g_@type@_register_static (g_intern_static_string ("@EnumName@"), values); 44 45 g_once_init_leave (&g_enum_type_id__volatile, g_enum_type_id); 46 } 47 48 return g_enum_type_id__volatile; 49} 50/*** END value-tail ***/ 51