source: XIOS/trunk/src/interface/fortran_attr/variable_interface_attr.F90 @ 581

Last change on this file since 581 was 581, checked in by rlacroix, 9 years ago

Fix the Fortran interface generation to avoid generating dead code that caused a timer not to be stopped.

  • Property copyright set to
    Software name : XIOS (Xml I/O Server)
    http://forge.ipsl.jussieu.fr/ioserver
    Creation date : January 2009
    Licence : CeCCIL version2
    see license file in root directory : Licence_CeCILL_V2-en.txt
    or http://www.cecill.info/licences/Licence_CeCILL_V2-en.html
    Holder : CEA/LSCE (Laboratoire des Sciences du CLimat et de l'Environnement)
    CNRS/IPSL (Institut Pierre Simon Laplace)
    Project Manager : Yann Meurdesoif
    yann.meurdesoif@cea.fr
File size: 2.2 KB
Line 
1! * ************************************************************************** *
2! *               Interface auto generated - do not modify                     *
3! * ************************************************************************** *
4#include "../fortran/xios_fortran_prefix.hpp"
5
6MODULE variable_interface_attr
7  USE, INTRINSIC :: ISO_C_BINDING
8
9  INTERFACE
10    ! Do not call directly / interface FORTRAN 2003 <-> C99
11
12    SUBROUTINE cxios_set_variable_name(variable_hdl, name, name_size) BIND(C)
13      USE ISO_C_BINDING
14      INTEGER (kind = C_INTPTR_T), VALUE :: variable_hdl
15      CHARACTER(kind = C_CHAR)    , DIMENSION(*) :: name
16      INTEGER  (kind = C_INT)     , VALUE        :: name_size
17    END SUBROUTINE cxios_set_variable_name
18
19    SUBROUTINE cxios_get_variable_name(variable_hdl, name, name_size) BIND(C)
20      USE ISO_C_BINDING
21      INTEGER (kind = C_INTPTR_T), VALUE :: variable_hdl
22      CHARACTER(kind = C_CHAR)    , DIMENSION(*) :: name
23      INTEGER  (kind = C_INT)     , VALUE        :: name_size
24    END SUBROUTINE cxios_get_variable_name
25
26    FUNCTION cxios_is_defined_variable_name(variable_hdl) BIND(C)
27      USE ISO_C_BINDING
28      LOGICAL(kind=C_BOOL) :: cxios_is_defined_variable_name
29      INTEGER (kind = C_INTPTR_T), VALUE :: variable_hdl
30    END FUNCTION cxios_is_defined_variable_name
31
32
33    SUBROUTINE cxios_set_variable_type(variable_hdl, type, type_size) BIND(C)
34      USE ISO_C_BINDING
35      INTEGER (kind = C_INTPTR_T), VALUE :: variable_hdl
36      CHARACTER(kind = C_CHAR)    , DIMENSION(*) :: type
37      INTEGER  (kind = C_INT)     , VALUE        :: type_size
38    END SUBROUTINE cxios_set_variable_type
39
40    SUBROUTINE cxios_get_variable_type(variable_hdl, type, type_size) BIND(C)
41      USE ISO_C_BINDING
42      INTEGER (kind = C_INTPTR_T), VALUE :: variable_hdl
43      CHARACTER(kind = C_CHAR)    , DIMENSION(*) :: type
44      INTEGER  (kind = C_INT)     , VALUE        :: type_size
45    END SUBROUTINE cxios_get_variable_type
46
47    FUNCTION cxios_is_defined_variable_type(variable_hdl) BIND(C)
48      USE ISO_C_BINDING
49      LOGICAL(kind=C_BOOL) :: cxios_is_defined_variable_type
50      INTEGER (kind = C_INTPTR_T), VALUE :: variable_hdl
51    END FUNCTION cxios_is_defined_variable_type
52
53  END INTERFACE
54
55END MODULE variable_interface_attr
Note: See TracBrowser for help on using the repository browser.