projects/package-update-indicator

view pui-types.h.in @ 52:707e9e3deeac

Do not hardcode pkg-config

Using a macro allows passing a different executable in case of
cross-compilation.
author Helmut Grohne <helmut@subdivi.de>
date Sat Dec 12 01:08:21 2020 -0500 (11 months ago)
parents
children
line source
1 /*** BEGIN file-header ***/
2 #ifndef PUI_TYPES_H
3 #define PUI_TYPES_H
5 #include <glib-object.h>
7 G_BEGIN_DECLS
8 /*** END file-header ***/
10 /*** BEGIN file-production ***/
12 /* enumerations from "@filename@" */
13 /*** END file-production ***/
15 /*** BEGIN value-header ***/
17 #define @ENUMPREFIX@_TYPE_@ENUMSHORT@ (@enum_name@_get_type())
18 GType @enum_name@_get_type(void) G_GNUC_CONST;
19 /*** END value-header ***/
21 /*** BEGIN file-tail ***/
23 gchar * pui_types_enum_to_string(GType, gint);
25 G_END_DECLS
27 #endif /* !PUI_TYPES_H */
28 /*** END file-tail ***/