@@ -22,16 +22,11 @@ module fpm_toml
2222 private
2323
2424 public :: read_package_file
25- public :: toml_table, toml_array, toml_key, toml_stat, get_value, set_value
25+ public :: toml_table, toml_array, toml_key, toml_stat, get_value, set_value, get_list
2626 public :: new_table, add_table, add_array, len
2727 public :: toml_error, toml_serializer, toml_parse
2828
2929
30- interface get_value
31- module procedure :: get_child_value_string_list
32- end interface get_value
33-
34-
3530contains
3631
3732
@@ -71,7 +66,7 @@ subroutine read_package_file(table, manifest, error)
7166 end subroutine read_package_file
7267
7368
74- subroutine get_child_value_string_list (table , key , list , error )
69+ subroutine get_list (table , key , list , error )
7570
7671 ! > Instance of the TOML data structure
7772 type (toml_table), intent (inout ) :: table
@@ -114,7 +109,7 @@ subroutine get_child_value_string_list(table, key, list, error)
114109 end if
115110 end if
116111
117- end subroutine get_child_value_string_list
112+ end subroutine get_list
118113
119114
120115end module fpm_toml
0 commit comments