build-aux/mkenum.h.template
raw| 1 | /*** BEGIN file-header ***/ |
| 2 | #pragma once |
| 3 | #ifndef __@ID@_H__ |
| 4 | #define __@ID@_H__ |
| 5 | |
| 6 | #include <glib-object.h> |
| 7 | |
| 8 | G_BEGIN_DECLS |
| 9 | |
| 10 | /*** END file-header ***/ |
| 11 | |
| 12 | /*** BEGIN value-header ***/ |
| 13 | GType @enum_name@_get_type(void) G_GNUC_CONST; |
| 14 | #define GWY_TYPE_@ENUMSHORT@ (@enum_name@_get_type()) |
| 15 | |
| 16 | /*** END value-header ***/ |
| 17 | |
| 18 | /*** BEGIN file-tail ***/ |
| 19 | G_END_DECLS |
| 20 | |
| 21 | #endif |
| 22 | /*** END file-tail ***/ |
| 23 | |
| 24 | /* vim: set ft=cpp cin columns=120 tw=118 et ts=4 sw=4 cino=>1s,e0,n0,f0,{0,}0,^0,\:1s,=0,g1s,h0,t0,+1s,c3,(0,u0 : */ |