Remove unused utils module

This commit is contained in:
Sebastian Dröge 2017-12-20 19:16:14 +02:00
parent 8ef6a1830c
commit a99522150b
2 changed files with 0 additions and 17 deletions

View file

@ -58,8 +58,6 @@ impl Drop for FloatingReferenceGuard {
#[macro_use]
pub mod anyimpl;
#[macro_use]
pub mod utils;
#[macro_use]
pub mod error;
pub mod adapter;

View file

@ -1,15 +0,0 @@
// Copyright (C) 2016-2017 Sebastian Dröge <sebastian@centricular.com>
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
use libc::c_char;
use std::ffi::CString;
#[no_mangle]
pub unsafe extern "C" fn cstring_drop(ptr: *mut c_char) {
let _ = CString::from_raw(ptr);
}