We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2e1fa6 commit 5177532Copy full SHA for 5177532
capi/src/time_span.rs
@@ -56,3 +56,9 @@ pub extern "C" fn TimeSpan_whole_seconds(this: &TimeSpan) -> i64 {
56
pub extern "C" fn TimeSpan_subsec_nanoseconds(this: &TimeSpan) -> i32 {
57
this.to_seconds_and_subsec_nanoseconds().1
58
}
59
+
60
+/// Changes a Time Span by adding a Time Span onto it.
61
+#[no_mangle]
62
+pub extern "C" fn TimeSpan_add_assign(this: &mut TimeSpan, other: &TimeSpan) {
63
+ *this += *other;
64
+}
0 commit comments