mirror of
https://github.com/TREX-CoE/trexio.git
synced 2025-01-03 10:06:01 +01:00
Add extern C pre-processing macro for C++
This commit is contained in:
parent
e2d8cd1972
commit
4e8909d9cd
@ -25,6 +25,10 @@
|
|||||||
#ifndef TREXIO_H
|
#ifndef TREXIO_H
|
||||||
#define TREXIO_H
|
#define TREXIO_H
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
@ -6197,6 +6201,11 @@ contains
|
|||||||
* File suffixes :noexport:
|
* File suffixes :noexport:
|
||||||
|
|
||||||
#+begin_src c :tangle suffix_front.h
|
#+begin_src c :tangle suffix_front.h
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user