#[allow(unused)]
/// Used only if an object of this type is returned as a trait impl by a method
pub(crate) extern "C" fn MultiThreadedLockableScore_free_void(this_ptr: *mut c_void) {
- unsafe { let _ = Box::from_raw(this_ptr as *mut nativeMultiThreadedLockableScore); }
+ let _ = unsafe { Box::from_raw(this_ptr as *mut nativeMultiThreadedLockableScore) };
}
#[allow(unused)]
impl MultiThreadedLockableScore {
#[allow(unused)]
/// Used only if an object of this type is returned as a trait impl by a method
pub(crate) extern "C" fn MultiThreadedScoreLock_free_void(this_ptr: *mut c_void) {
- unsafe { let _ = Box::from_raw(this_ptr as *mut nativeMultiThreadedScoreLock); }
+ let _ = unsafe { Box::from_raw(this_ptr as *mut nativeMultiThreadedScoreLock) };
}
#[allow(unused)]
impl MultiThreadedScoreLock {
#[allow(unused)]
/// Used only if an object of this type is returned as a trait impl by a method
pub(crate) extern "C" fn ChannelUsage_free_void(this_ptr: *mut c_void) {
- unsafe { let _ = Box::from_raw(this_ptr as *mut nativeChannelUsage); }
+ let _ = unsafe { Box::from_raw(this_ptr as *mut nativeChannelUsage) };
}
#[allow(unused)]
impl ChannelUsage {
#[allow(unused)]
/// Used only if an object of this type is returned as a trait impl by a method
pub(crate) extern "C" fn FixedPenaltyScorer_free_void(this_ptr: *mut c_void) {
- unsafe { let _ = Box::from_raw(this_ptr as *mut nativeFixedPenaltyScorer); }
+ let _ = unsafe { Box::from_raw(this_ptr as *mut nativeFixedPenaltyScorer) };
}
#[allow(unused)]
impl FixedPenaltyScorer {
#[allow(unused)]
/// Used only if an object of this type is returned as a trait impl by a method
pub(crate) extern "C" fn ProbabilisticScorer_free_void(this_ptr: *mut c_void) {
- unsafe { let _ = Box::from_raw(this_ptr as *mut nativeProbabilisticScorer); }
+ let _ = unsafe { Box::from_raw(this_ptr as *mut nativeProbabilisticScorer) };
}
#[allow(unused)]
impl ProbabilisticScorer {
#[allow(unused)]
/// Used only if an object of this type is returned as a trait impl by a method
pub(crate) extern "C" fn ProbabilisticScoringParameters_free_void(this_ptr: *mut c_void) {
- unsafe { let _ = Box::from_raw(this_ptr as *mut nativeProbabilisticScoringParameters); }
+ let _ = unsafe { Box::from_raw(this_ptr as *mut nativeProbabilisticScoringParameters) };
}
#[allow(unused)]
impl ProbabilisticScoringParameters {