From 45ef4948db670224c7cc727507f84924bd826002 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Mon, 12 May 2025 13:10:48 +0200 Subject: core: begin c-style API --- core/include/turns/turns-enums.h.in | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 core/include/turns/turns-enums.h.in (limited to 'core/include/turns/turns-enums.h.in') diff --git a/core/include/turns/turns-enums.h.in b/core/include/turns/turns-enums.h.in new file mode 100644 index 0000000..10bb3f1 --- /dev/null +++ b/core/include/turns/turns-enums.h.in @@ -0,0 +1,22 @@ +/*** BEGIN file-header ***/ +#pragma once + +#include +#include + +G_BEGIN_DECLS +/*** END file-header ***/ + +/*** BEGIN file-production ***/ + +/* enumerations from "@basename@" */ +/*** END file-production ***/ + +/*** BEGIN value-header ***/ +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 +/*** END file-tail ***/ \ No newline at end of file -- cgit v1.2.3