ion-c
ion-c copied to clipboard
ION_INT -> ION_DECIMAL
As per amzn/ion-rust#80, there appears to be no way for an end user to construct an ION_DECIMAL from an ION_INT using ion_decimal.c L287-L293. This API should not require the caller to have pre-initialized ION_DECIMAL to the specific number type as that concept is abstracted away from the user.