aboutsummaryrefslogtreecommitdiff
path: root/tools/interface_generator/templates/interface.h.mako
diff options
context:
space:
mode:
authoraqua <aqua@iserlohn-fortress.net>2024-08-07 17:36:57 +0300
committeraqua <aqua@iserlohn-fortress.net>2024-08-07 17:36:57 +0300
commitdcd2f898af9d4efcb22417c19fa1b3abc8c548c5 (patch)
tree3ef0eaa4b9595bf90c733e8f196edd1c3f72c472 /tools/interface_generator/templates/interface.h.mako
parentAdded interface_generator (diff)
downloadkernel-dcd2f898af9d4efcb22417c19fa1b3abc8c548c5.tar.xz
Added bazel rule for interface_generator
Diffstat (limited to 'tools/interface_generator/templates/interface.h.mako')
-rw-r--r--tools/interface_generator/templates/interface.h.mako8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/interface_generator/templates/interface.h.mako b/tools/interface_generator/templates/interface.h.mako
new file mode 100644
index 0000000..47ea940
--- /dev/null
+++ b/tools/interface_generator/templates/interface.h.mako
@@ -0,0 +1,8 @@
+<%include file="__header.mako" />
+#ifndef ${ name.upper() }
+#define ${ name.upper() }
+
+<%include file="__c_system_include.mako" />
+<%include file="__c_types.mako" />
+<%include file="__c_functions.mako" />
+#endif /* ${ name.upper() } */