File tree Expand file tree Collapse file tree 5 files changed +21
-1
lines changed Expand file tree Collapse file tree 5 files changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -4,4 +4,4 @@ C interface
44
55``` {todo}
66Explain how to use the C interface in your program. Point to or show the example in the example directory.
7- ```
7+ ```
Original file line number Diff line number Diff line change @@ -53,6 +53,7 @@ developer_manual/start_devel_and_contrib/index
5353developer_manual/contributing_to_the_documentation/index
5454developer_manual/contributing_to_the_code/index
5555developer_manual/developing_for_the_GWB/index
56+ Source code documentation <https://codedocs.xyz/GeodynamicWorldBuilder/WorldBuilder/index.html>
5657
5758```
5859
Original file line number Diff line number Diff line change 2222
2323#include <stdbool.h>
2424
25+ /** @file
26+ * This file contains the C API of the WorldBuilder library.
27+ *
28+ * The C API is used to make the WorldBuilder library available to programs written
29+ * in C. The C API is a set of functions that can be called from C code. The
30+ * functions in the C API call the corresponding C++ functions in the WorldBuilder
31+ * library. Check the content of this file for a list of the available functions and
32+ * their documentation.
33+ */
34+
2535#ifdef __cplusplus
2636extern "C" {
2737#endif
Original file line number Diff line number Diff line change 2323#include < string>
2424#include " world_builder/deprecate.h"
2525
26+ /* *
27+ * This namespace contains the C++ wrapper of the WorldBuilder library.
28+ */
2629namespace wrapper_cpp
2730{
2831 /* *
Original file line number Diff line number Diff line change 1717! ! along with this program. If not, see <https://www.gnu.org/licenses/>.
1818! !
1919
20+ ! > This module contains the Fortran API of the World Builder library.
21+ ! ! The Fortran API is used to make the WorldBuilder library available to programs written
22+ ! ! in Fortran. The Fortran API is a set of functions that can be called from C code. The
23+ ! ! functions in the C API call the corresponding C++ functions in the WorldBuilder
24+ ! ! library. Check the content of this module for a list of the available functions and
25+ ! ! their documentation.
2026MODULE WorldBuilder
2127USE , INTRINSIC :: ISO_C_BINDING! , ONLY: C_PTR
2228 IMPLICIT NONE
You can’t perform that action at this time.
0 commit comments