mirror of
				https://gitlab.gnome.org/GNOME/glib.git
				synced 2025-10-31 16:32:18 +01:00 
			
		
		
		
	`@filename@` expands to the (absolute or relative) path from the build directory to the source directory, which can be rather verbose. In practice Meson usually (always?) generates a relative path, but even so, the resulting installed header is not necessarily reproducible if using different build directories outside the source directory. We don't really need a full path here anyway: the basename is enough of a hint to point a reader towards the file where the underlying enum was defined. Signed-off-by: Simon McVittie <smcv@collabora.com>
		
			
				
	
	
		
			25 lines
		
	
	
		
			559 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			559 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| /*** BEGIN file-header ***/
 | |
| #ifndef __GOBJECT_ENUM_TYPES_H__
 | |
| #define __GOBJECT_ENUM_TYPES_H__
 | |
| 
 | |
| #include <glib-object.h>
 | |
| 
 | |
| G_BEGIN_DECLS
 | |
| /*** END file-header ***/
 | |
| 
 | |
| /*** BEGIN file-production ***/
 | |
| 
 | |
| /* enumerations from "@basename@" */
 | |
| /*** END file-production ***/
 | |
| 
 | |
| /*** BEGIN value-header ***/
 | |
| GOBJECT_AVAILABLE_IN_2_60 GType @enum_name@_get_type (void) G_GNUC_CONST;
 | |
| #define @ENUMPREFIX@_TYPE_@ENUMSHORT@ (@enum_name@_get_type ())
 | |
| /*** END value-header ***/
 | |
| 
 | |
| /*** BEGIN file-tail ***/
 | |
| G_END_DECLS
 | |
| 
 | |
| #endif /* __GOBJECT_ENUM_TYPES_H__ */
 | |
| /*** END file-tail ***/
 |