C headers: add C++ extern "C" { } section
This commit is contained in:
parent
81dec06066
commit
c741b1e686
|
@ -8,6 +8,10 @@
|
|||
#ifndef HEADER_@CNAME@
|
||||
#define HEADER_@CNAME@
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* standard includes, or includes needed for type declarations */
|
||||
|
||||
/* options for text editors
|
||||
|
|
|
@ -5,6 +5,10 @@
|
|||
* License: GPLv3
|
||||
*/
|
||||
|
||||
#ifdef __cpluscplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
/* options for text editors
|
||||
|
|
|
@ -8,6 +8,10 @@
|
|||
#ifndef HEADER_@CNAME@
|
||||
#define HEADER_@CNAME@
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* standard includes, or includes needed for type declarations */
|
||||
|
||||
/* options for text editors
|
||||
|
|
|
@ -5,6 +5,10 @@
|
|||
* License: GPLv3
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
/* options for text editors
|
||||
|
|
Loading…
Reference in New Issue