* garrow_codec_get_compression_level: * @codec: A #GArrowCodec. * * Returns: The compression level of the codec. * * Since: 2.0.0 */
| 183 | * Since: 2.0.0 |
| 184 | */ |
| 185 | gint |
| 186 | garrow_codec_get_compression_level(GArrowCodec *codec) |
| 187 | { |
| 188 | auto arrow_codec = garrow_codec_get_raw(codec); |
| 189 | if (!arrow_codec) { |
| 190 | return arrow::util::Codec::UseDefaultCompressionLevel(); |
| 191 | } |
| 192 | return arrow_codec->compression_level(); |
| 193 | } |
| 194 | |
| 195 | G_END_DECLS |
| 196 |
nothing calls this directly
no test coverage detected