mirror of https://github.com/ecmwf/eccodes.git
Const correctness
This commit is contained in:
parent
1a9b698eca
commit
4535dad22e
|
@ -89,7 +89,7 @@ grib_handle* codes_fieldset_next_handle(grib_fieldset* set, int* err)
|
|||
{
|
||||
return grib_fieldset_next_handle(set, err);
|
||||
}
|
||||
int codes_fieldset_count(grib_fieldset* set)
|
||||
int codes_fieldset_count(const grib_fieldset* set)
|
||||
{
|
||||
return grib_fieldset_count(set);
|
||||
}
|
||||
|
|
|
@ -187,7 +187,7 @@ void codes_fieldset_delete(codes_fieldset* set);
|
|||
void codes_fieldset_rewind(codes_fieldset* set);
|
||||
int codes_fieldset_apply_order_by(codes_fieldset* set, const char* order_by_string);
|
||||
codes_handle* codes_fieldset_next_handle(codes_fieldset* set, int* err);
|
||||
int codes_fieldset_count(codes_fieldset* set);
|
||||
int codes_fieldset_count(const codes_fieldset* set);
|
||||
int codes_values_check(codes_handle* h, codes_values* values, int count);
|
||||
|
||||
/*! \defgroup codes_index The indexing feature
|
||||
|
|
|
@ -240,7 +240,7 @@ void grib_fieldset_delete(grib_fieldset* set);
|
|||
void grib_fieldset_rewind(grib_fieldset* set);
|
||||
int grib_fieldset_apply_order_by(grib_fieldset* set, const char* order_by_string);
|
||||
grib_handle* grib_fieldset_next_handle(grib_fieldset* set, int* err);
|
||||
int grib_fieldset_count(grib_fieldset* set);
|
||||
int grib_fieldset_count(const grib_fieldset* set);
|
||||
int grib_values_check(grib_handle* h, grib_values* values, int count);
|
||||
|
||||
/*! \defgroup grib_index The grib_index
|
||||
|
|
|
@ -1011,7 +1011,7 @@ void grib_fieldset_delete(grib_fieldset* set);
|
|||
int grib_fieldset_add(grib_fieldset* set, char* filename);
|
||||
void grib_fieldset_rewind(grib_fieldset* set);
|
||||
grib_handle* grib_fieldset_next_handle(grib_fieldset* set, int* err);
|
||||
int grib_fieldset_count(grib_fieldset* set);
|
||||
int grib_fieldset_count(const grib_fieldset* set);
|
||||
grib_handle* grib_fieldset_retrieve(grib_fieldset* set, int i, int* err);
|
||||
|
||||
/* grib_filepool.c */
|
||||
|
|
Loading…
Reference in New Issue