1
0
mirror of https://github.com/TREX-CoE/trexio.git synced 2024-07-22 10:47:43 +02:00

Add extern C pre-processing macro for C++

This commit is contained in:
Evgeny Posenitskiy 2023-01-11 19:03:57 +01:00 committed by GitHub
parent e2d8cd1972
commit 4e8909d9cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,6 +25,10 @@
#ifndef TREXIO_H
#define TREXIO_H
#ifdef __cplusplus
extern "C" {
#endif
#include <stdbool.h>
#include <stdint.h>
@ -6197,6 +6201,11 @@ contains
* File suffixes :noexport:
#+begin_src c :tangle suffix_front.h
#ifdef __cplusplus
}
#endif
#endif
#+end_src