1
0
mirror of https://github.com/TREX-CoE/trexio.git synced 2024-08-24 22:21:43 +02:00

make consistent hierarchy in org-mode files

This commit is contained in:
q-posev 2021-04-08 11:40:50 +02:00
parent b656917323
commit 7e55933fea
2 changed files with 8 additions and 16 deletions

View File

@ -1,7 +1,7 @@
#+Title: Templator for HDF5 backend
#+Title: Templator for HDF5 back end
** Constant file prefixes (not used by generator) for HDF5 :noxport:
* Constant file prefixes (not used by the generator) :noexport:
#+NAME:header
#+begin_src c
@ -38,7 +38,7 @@
#+end_src
* HDF5 back end
** Template for HDF5 definitions
#+begin_src c :tangle def_hdf5.c
@ -48,7 +48,6 @@
#+end_src
** Template for HDF5 structures
#+begin_src c :tangle struct_hdf5.h
@ -65,7 +64,6 @@ trexio_exit_code trexio_hdf5_deinit(trexio_t* const file);
#+end_src
** Template for HDF5 init/deinit
#+begin_src c :tangle basic_hdf5.c
@ -143,7 +141,6 @@ trexio_exit_code trexio_hdf5_deinit(trexio_t* const file) {
#+end_src
** Template for HDF5 has/read/write a number
#+begin_src c :tangle hrw_num_hdf5.h
@ -376,7 +373,7 @@ trexio_exit_code trexio_hdf5_has_$group$_$group_dset$(trexio_t* const file) {
}
#+end_src
** Constant file suffixes (not used by generator) for HDF5 :noxport:
* Constant file suffixes (not used by the generator) :noexport:
#+begin_src c :tangle suffix_hdf5.h

View File

@ -1,7 +1,7 @@
#+Title: Templator for TEXT backend
#+Title: Templator for TEXT back end
* Constant file prefixes (not used by generator) :noxport:
* Constant file prefixes (not used by the generator) :noexport:
#+begin_src emacs-lisp
(setq-local org-babel-default-header-args:c '((:comments . "both")))
@ -58,8 +58,7 @@
#+end_src
* TEXT Back end
* TEXT back end
The "file" produced by the text back end is a directory with one
file per group.
@ -216,7 +215,6 @@ trexio_exit_code trexio_text_unlock(trexio_t* const file) {
}
#+end_src
** Init/deinit functions (templated part)
#+begin_src c :tangle basic_text_group.c
@ -567,7 +565,6 @@ trexio_exit_code trexio_text_has_$group_num$(trexio_t* const file) {
}
#+end_src
** Template for has/read/write the $group_dset$ dataset
The ~dset~ array is assumed allocated with the appropriate size.
@ -978,9 +975,7 @@ trexio_text_buffered_write_rdm_two_e(trexio_t* const file,
}
#+end_src
:noexport:
* Constant file suffixes :noxport:
* Constant file suffixes (not used by the generator) :noexport:
#+begin_src c :tangle suffix_text.h
#endif