* garrow_decimal128_to_integer: * @decimal: A #GArrowDecimal128. * * Returns: The 64-bit integer representation of the decimal. * * Since: 0.10.0 */
| 1443 | * Since: 0.10.0 |
| 1444 | */ |
| 1445 | gint64 |
| 1446 | garrow_decimal128_to_integer(GArrowDecimal128 *decimal) |
| 1447 | { |
| 1448 | auto arrow_decimal = garrow_decimal128_get_raw(decimal); |
| 1449 | return static_cast<int64_t>(*arrow_decimal); |
| 1450 | } |
| 1451 | |
| 1452 | /** |
| 1453 | * garrow_decimal128_plus: |
nothing calls this directly
no test coverage detected