aboutsummaryrefslogblamecommitdiff
path: root/dot_vim/c-support/templates/c.preprocessor.template
blob: 3ec674abc0e3db59132d65d0c1f9e488b8048d11 (plain) (tree)

































                                                                          
$-------------------------------------------------------------------------
== preprocessor.define ==
#define	<CURSOR>			/*  */
$-------------------------------------------------------------------------
== preprocessor.undefine ==
#undef	<CURSOR>			/*  */
$-------------------------------------------------------------------------
== preprocessor.if-else-endif ==
#if  |?CONDITION:u|
<CURSOR><SPLIT>
#else      /* -----  not |CONDITION|  ----- */

#endif     /* -----  not |CONDITION|  ----- */
$-------------------------------------------------------------------------
== preprocessor.ifdef-else-endif ==
#ifdef  |?CONDITION:u|
<CURSOR><SPLIT>
#else      /* -----  not |CONDITION|  ----- */

#endif     /* -----  not |CONDITION|  ----- */
$-------------------------------------------------------------------------
== preprocessor.ifndef-else-endif ==
#ifndef  |?CONDITION:u|
<CURSOR><SPLIT>
#else      /* -----  not |CONDITION|  ----- */

#endif     /* -----  not |CONDITION|  ----- */
$-------------------------------------------------------------------------
== preprocessor.ifndef-def-endif ==
#ifndef  |?BASENAME:L|_INC
#define  |BASENAME|_INC
<CURSOR><SPLIT>
#endif   /* ----- #ifndef |BASENAME|_INC  ----- */
$-------------------------------------------------------------------------