* garrow_decimal32_to_integer: * @decimal: A #GArrowDecimal32. * * Returns: The 64-bit integer representation of the decimal. * * Since: 19.0.0 */
| 647 | * Since: 19.0.0 |
| 648 | */ |
| 649 | gint64 |
| 650 | garrow_decimal32_to_integer(GArrowDecimal32 *decimal) |
| 651 | { |
| 652 | auto arrow_decimal = garrow_decimal32_get_raw(decimal); |
| 653 | return static_cast<int64_t>(*arrow_decimal); |
| 654 | } |
| 655 | |
| 656 | /** |
| 657 | * garrow_decimal32_plus: |
nothing calls this directly
no test coverage detected