Skip to content

Commit

Permalink
Remove unused c functions in rd_type_python
Browse files Browse the repository at this point in the history
  • Loading branch information
eivindjahren committed Aug 23, 2024
1 parent 0b9e054 commit de2322f
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions lib/resdata/rd_type_python.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,6 @@ int rd_type_get_sizeof_iotype_python(const rd_data_type *rd_type) {
return rd_type_get_sizeof_iotype(*rd_type);
}

int rd_type_get_sizeof_ctype_python(const rd_data_type *rd_type) {
return rd_type_get_sizeof_ctype(*rd_type);
}

bool rd_type_is_numeric_python(const rd_data_type *rd_type) {
return rd_type_is_numeric(*rd_type);
}
Expand Down Expand Up @@ -109,12 +105,5 @@ rd_data_type *rd_kw_get_data_type_python(const rd_kw_type *rd_kw) {
rd_data_type data_type = rd_kw_get_data_type(rd_kw);
return rd_type_alloc_copy_python(&data_type);
}

void rd_kw_fread_indexed_data_python(
fortio_type *fortio, offset_type data_offset, const rd_data_type *data_type,
int element_count, const int_vector_type *index_map, char *buffer) {
return rd_kw_fread_indexed_data(fortio, data_offset, *data_type,
element_count, index_map, buffer);
}
}
#endif

0 comments on commit de2322f

Please sign in to comment.