| 
									
										
										
										
											2018-11-19 15:10:09 -05:00
										 |  |  | /*** BEGIN file-header ***/ | 
					
						
							|  |  |  | #include "config.h" | 
					
						
							| 
									
										
										
										
											2019-03-04 11:12:59 +00:00
										 |  |  | #include "glib-enumtypes.h" | 
					
						
							| 
									
										
										
										
											2018-11-19 15:10:09 -05:00
										 |  |  | #include <glib-object.h> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-07-27 08:01:49 -04:00
										 |  |  | G_GNUC_BEGIN_IGNORE_DEPRECATIONS | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-11-19 15:10:09 -05:00
										 |  |  | /*** END file-header ***/ | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-07-27 08:01:49 -04:00
										 |  |  | /*** BEGIN file-tail ***/ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | G_GNUC_END_IGNORE_DEPRECATIONS | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | /*** END file-tail ***/ | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-11-19 15:10:09 -05:00
										 |  |  | /*** BEGIN file-production ***/ | 
					
						
							|  |  |  | /* enumerations from "@filename@" */ | 
					
						
							| 
									
										
										
										
											2021-07-27 08:01:49 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-11-19 15:10:09 -05:00
										 |  |  | /*** END file-production ***/ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | /*** BEGIN value-header ***/ | 
					
						
							|  |  |  | GType | 
					
						
							|  |  |  | @enum_name@_get_type (void) | 
					
						
							|  |  |  | { | 
					
						
							| 
									
										
										
										
											2020-11-11 18:12:22 +00:00
										 |  |  |   static gsize static_g_define_type_id = 0; | 
					
						
							| 
									
										
										
										
											2018-11-19 15:10:09 -05:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-11-11 18:12:22 +00:00
										 |  |  |   if (g_once_init_enter (&static_g_define_type_id)) | 
					
						
							| 
									
										
										
										
											2018-11-19 15:10:09 -05:00
										 |  |  |     { | 
					
						
							|  |  |  |       static const G@Type@Value values[] = { | 
					
						
							|  |  |  | /*** END value-header ***/ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | /*** BEGIN value-production ***/ | 
					
						
							|  |  |  |         { @VALUENAME@, "@VALUENAME@", "@valuenick@" }, | 
					
						
							|  |  |  | /*** END value-production ***/ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | /*** BEGIN value-tail ***/ | 
					
						
							|  |  |  |         { 0, NULL, NULL } | 
					
						
							|  |  |  |       }; | 
					
						
							|  |  |  |       GType g_define_type_id = | 
					
						
							|  |  |  |         g_@type@_register_static (g_intern_static_string ("@EnumName@"), values); | 
					
						
							| 
									
										
										
										
											2020-11-11 18:12:22 +00:00
										 |  |  |       g_once_init_leave (&static_g_define_type_id, g_define_type_id); | 
					
						
							| 
									
										
										
										
											2018-11-19 15:10:09 -05:00
										 |  |  |     } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-11-11 18:12:22 +00:00
										 |  |  |   return static_g_define_type_id; | 
					
						
							| 
									
										
										
										
											2018-11-19 15:10:09 -05:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | /*** END value-tail ***/ |