* garrow_codec_get_name: * @codec: A #GArrowCodec. * * Returns: The name of the codec. * * Since: 0.12.0 */
| 147 | * Since: 0.12.0 |
| 148 | */ |
| 149 | const gchar * |
| 150 | garrow_codec_get_name(GArrowCodec *codec) |
| 151 | { |
| 152 | auto arrow_codec = garrow_codec_get_raw(codec); |
| 153 | if (!arrow_codec) { |
| 154 | return NULL; |
| 155 | } |
| 156 | return arrow_codec->name().c_str(); |
| 157 | } |
| 158 | |
| 159 | /** |
| 160 | * garrow_codec_get_compression_type: |
nothing calls this directly
no test coverage detected