Yet Another eXchange Tool
0.11.4
Loading...
Searching...
No Matches
src
xt_init_internal.h
Go to the documentation of this file.
1
12
/*
13
* Keywords:
14
* Maintainer: Jörg Behrens <behrens@dkrz.de>
15
* Moritz Hanke <hanke@dkrz.de>
16
* Thomas Jahns <jahns@dkrz.de>
17
* URL: https://dkrz-sw.gitlab-pages.dkrz.de/yaxt/
18
*
19
* Redistribution and use in source and binary forms, with or without
20
* modification, are permitted provided that the following conditions are
21
* met:
22
*
23
* Redistributions of source code must retain the above copyright notice,
24
* this list of conditions and the following disclaimer.
25
*
26
* Redistributions in binary form must reproduce the above copyright
27
* notice, this list of conditions and the following disclaimer in the
28
* documentation and/or other materials provided with the distribution.
29
*
30
* Neither the name of the DKRZ GmbH nor the names of its contributors
31
* may be used to endorse or promote products derived from this software
32
* without specific prior written permission.
33
*
34
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
35
* IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
36
* TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
37
* PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
38
* OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
39
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
40
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
41
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
42
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
43
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
44
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
45
*/
46
#ifndef XT_INIT_INTERNAL_H
47
#define XT_INIT_INTERNAL_H
48
49
#ifdef HAVE_CONFIG_H
50
#include <config.h>
51
#endif
52
53
/* must be kept in sync with Fortran declaration in xt_core_f.f90 */
54
enum
xt_init_states
{
55
xt_lib_pre_init
= 0,
/* this entry must be zero so that
56
* xt_lib_state in common matches that */
57
xt_lib_initialized
,
58
xt_lib_finalized
,
59
};
60
61
#ifndef __GNUC__
62
#define __attribute__(att)
63
#endif
64
65
extern
int
xt_lib_state
__attribute__
((aligned(FC_ALIGN_C_INT),common));
66
67
#endif
68
69
/*
70
* Local Variables:
71
* c-basic-offset: 2
72
* coding: utf-8
73
* indent-tabs-mode: nil
74
* show-trailing-whitespace: t
75
* require-trailing-newline: t
76
* End:
77
*/
__attribute__
#define __attribute__(att)
Definition
xt_init_internal.h:62
xt_init_states
xt_init_states
Definition
xt_init_internal.h:54
xt_lib_finalized
@ xt_lib_finalized
Definition
xt_init_internal.h:58
xt_lib_initialized
@ xt_lib_initialized
Definition
xt_init_internal.h:57
xt_lib_pre_init
@ xt_lib_pre_init
Definition
xt_init_internal.h:55
Generated by
1.12.0