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