diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2022-03-07 14:43:44 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2022-03-07 14:43:44 +0100 |
commit | cbcab8684e06379c9f5c51cfc9cac68d8684fe0c (patch) | |
tree | d03b04e9a7f8e3aae70e590953408f90deed077c /old/skeletons/c_header.erb | |
parent | 721a7ea65d23e7b149ba73968a1d75727a55b390 (diff) | |
download | vim-cbcab8684e06379c9f5c51cfc9cac68d8684fe0c.zip vim-cbcab8684e06379c9f5c51cfc9cac68d8684fe0c.tar.gz |
move to old
Diffstat (limited to 'old/skeletons/c_header.erb')
-rw-r--r-- | old/skeletons/c_header.erb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/old/skeletons/c_header.erb b/old/skeletons/c_header.erb new file mode 100644 index 0000000..2ef9092 --- /dev/null +++ b/old/skeletons/c_header.erb @@ -0,0 +1,20 @@ +<%= header 'c.hdr' %> + +<% define=File.basename( @filename ).upcase!.sub!('.', '_' ) %> + +#ifndef _<%= define %>_ +#define _<%= define %>_ + +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + +/* + * Feed me + */ + +#ifdef __cplusplus +} +#endif /* __cplusplus */ + +#endif /* _<%= define %>_ */ |