pinosaur
/
dotfiles.git
/ blob
8d5468c94d75c4464a9dd293c5b44ac95697e362
[dotfiles.git]
/
.vim
/
mysnippets
/
cpp.snippets
1
snippet guard "header guard" w
2
#ifndef $1
3
#define $1
4
5
$0
6
7
#endif // $1
8
endsnippet
9
10
snippet cpp "cpp extern" w
11
#ifdef __cplusplus
12
extern "C" {
13
#endif
14
15
$0
16
17
#ifdef __cplusplus
18
}
19
#endif
20
endsnippet