From ac281106965b56619723bb315ee49d5a1539451b Mon Sep 17 00:00:00 2001 From: q-posev Date: Tue, 20 Jul 2021 12:06:44 +0200 Subject: [PATCH] add include guard to the trexio_private.h file --- src/templates_front/templator_front.org | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/templates_front/templator_front.org b/src/templates_front/templator_front.org index 817d687..73f2046 100644 --- a/src/templates_front/templator_front.org +++ b/src/templates_front/templator_front.org @@ -77,6 +77,12 @@ typedef int32_t trexio_exit_code; #include #+end_src + #+begin_src c :tangle trexio_private.h :noweb yes +<
> +#ifndef _TREXIO_PRIVATE_H +#define _TREXIO_PRIVATE_H + #+end_src + * Coding conventions - integer types will be defined using types given in ~stdint.h~ @@ -2231,6 +2237,10 @@ contains #endif #+end_src + #+begin_src c :tangle trexio_private.h +#endif + #+end_src + #+begin_src f90 :tangle suffix_fortran.f90 end module trexio #+end_src