Skip to content

Commit

Permalink
Add to icu_capi
Browse files Browse the repository at this point in the history
  • Loading branch information
sffc committed Dec 14, 2024
1 parent b7c0c9c commit c54133a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ffi/capi/src/decimal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -176,5 +176,10 @@ pub mod ffi {
) {
let _infallible = self.0.format(&value.0).write_to(write);
}

#[diplomat::rust_link(icu::decimal::FixedDecimalFormatter::numbering_system, FnInStruct)]
pub fn numbering_system(&self, write: &mut diplomat_runtime::DiplomatWrite) {
let _infallible = self.0.numbering_system().write_to(write);
}
}
}

0 comments on commit c54133a

Please sign in to comment.