TABLE OF CONTENTS


ABINIT/m_type_pair_list [ Modules ]

[ Top ] [ Modules ]

NAME

  m_pair_list

FUNCTION

  This module define the interface to the C implementation
  of pair_list. See m_pair_list.

COPYRIGHT

 Copyright (C) 2009-2024 ABINIT group (TC, MG)
 This file is distributed under the terms of the
 GNU General Public License, see ~abinit/COPYING
 or http://www.gnu.org/copyleft/gpl.txt .

NOTES

SOURCE

19 #if defined HAVE_CONFIG_H
20 #include "config.h"
21 #endif
22 
23 module m_type_pair_list
24   use, intrinsic :: iso_c_binding
25 ! type c_pair_list
26 ! Represent a list of key-value pairs value can be either
27 ! integer, double precision real or string.
28 ! Never manipulate member directly or you will corrupt
29 ! data. Use routines of m_pair_list instead
30   type, bind(C) :: c_pair_list
31     type(c_ptr) :: first = C_NULL_PTR
32     type(c_ptr) :: cursor = C_NULL_PTR
33     integer(c_int) :: length = 0
34   end type c_pair_list
35   contains
36 end module m_type_pair_list