10 lines
122 B
Plaintext
10 lines
122 B
Plaintext
|
# -*- mode: snippet -*-
|
||
|
# name: Protect with ifdef
|
||
|
# key: defprot
|
||
|
# --
|
||
|
#ifndef ${1:name}
|
||
|
# define $1
|
||
|
|
||
|
$0
|
||
|
|
||
|
#endif /* $1 */
|