| 
									
										
										
										
											2022-11-24 12:06:10 +00:00
										 |  |  | /*** BEGIN file-header ***/ | 
					
						
							|  |  |  | #include "config.h" | 
					
						
							|  |  |  | #include "glib-enumtypes.h" | 
					
						
							|  |  |  | #include <glib-object.h> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | G_GNUC_BEGIN_IGNORE_DEPRECATIONS | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | /*** END file-header ***/ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | /*** BEGIN file-tail ***/ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | G_GNUC_END_IGNORE_DEPRECATIONS | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | /*** END file-tail ***/ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | /*** BEGIN file-production ***/ | 
					
						
							| 
									
										
										
										
											2024-12-13 23:40:32 +00:00
										 |  |  | /* enumerations from "@basename@" */ | 
					
						
							| 
									
										
										
										
											2022-11-24 12:06:10 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | /*** END file-production ***/ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | /*** BEGIN value-header ***/ | 
					
						
							|  |  |  | GType | 
					
						
							|  |  |  | @enum_name@_get_type (void) | 
					
						
							|  |  |  | { | 
					
						
							| 
									
										
										
										
											2023-09-12 01:26:21 -07:00
										 |  |  |   static GType static_g_define_type_id = 0; | 
					
						
							| 
									
										
										
										
											2022-11-24 12:06:10 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-09-12 01:26:21 -07:00
										 |  |  |   if (g_once_init_enter_pointer (&static_g_define_type_id)) | 
					
						
							| 
									
										
										
										
											2022-11-24 12:06:10 +00: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); | 
					
						
							| 
									
										
										
										
											2023-09-12 01:26:21 -07:00
										 |  |  |       g_once_init_leave_pointer (&static_g_define_type_id, g_define_type_id); | 
					
						
							| 
									
										
										
										
											2022-11-24 12:06:10 +00:00
										 |  |  |     } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   return static_g_define_type_id; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | /*** END value-tail ***/ |