summaryrefslogtreecommitdiffstats
path: root/old/skeletons/main.h.erb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2022-03-07 14:43:44 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2022-03-07 14:43:44 +0100
commitcbcab8684e06379c9f5c51cfc9cac68d8684fe0c (patch)
treed03b04e9a7f8e3aae70e590953408f90deed077c /old/skeletons/main.h.erb
parent721a7ea65d23e7b149ba73968a1d75727a55b390 (diff)
downloadvim-cbcab8684e06379c9f5c51cfc9cac68d8684fe0c.zip
vim-cbcab8684e06379c9f5c51cfc9cac68d8684fe0c.tar.gz
move to old
Diffstat (limited to 'old/skeletons/main.h.erb')
-rw-r--r--old/skeletons/main.h.erb26
1 files changed, 26 insertions, 0 deletions
diff --git a/old/skeletons/main.h.erb b/old/skeletons/main.h.erb
new file mode 100644
index 0000000..3f0baf7
--- /dev/null
+++ b/old/skeletons/main.h.erb
@@ -0,0 +1,26 @@
+<%= header 'c.hdr' %>
+
+
+#ifndef _MAIN_
+#define _MAIN_ 1
+
+# ifdef __cplusplus
+extern "C" {
+# endif /* __cplusplus */
+
+#define VERSION "version"
+#define PACKAGE_NAME "package_name"
+
+#ifdef HAVE_CONFIG_H
+ #include "config.h"
+/*
+#else
+ #error "no config.h"
+*/
+#endif
+
+# ifdef __cplusplus
+}
+# endif /* __cplusplus */
+
+# endif /* _MAIN_ */