mirror of
https://github.com/TREX-CoE/trexio.git
synced 2024-12-23 04:43:57 +01:00
add include guard to the trexio_private.h file
This commit is contained in:
parent
6f8279ed80
commit
ac28110696
@ -77,6 +77,12 @@ typedef int32_t trexio_exit_code;
|
|||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
#+begin_src c :tangle trexio_private.h :noweb yes
|
||||||
|
<<header>>
|
||||||
|
#ifndef _TREXIO_PRIVATE_H
|
||||||
|
#define _TREXIO_PRIVATE_H
|
||||||
|
#+end_src
|
||||||
|
|
||||||
* Coding conventions
|
* Coding conventions
|
||||||
|
|
||||||
- integer types will be defined using types given in ~stdint.h~
|
- integer types will be defined using types given in ~stdint.h~
|
||||||
@ -2231,6 +2237,10 @@ contains
|
|||||||
#endif
|
#endif
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
#+begin_src c :tangle trexio_private.h
|
||||||
|
#endif
|
||||||
|
#+end_src
|
||||||
|
|
||||||
#+begin_src f90 :tangle suffix_fortran.f90
|
#+begin_src f90 :tangle suffix_fortran.f90
|
||||||
end module trexio
|
end module trexio
|
||||||
#+end_src
|
#+end_src
|
||||||
|
Loading…
Reference in New Issue
Block a user