again, added use std::ptr; to lib.rs

This commit is contained in:
colin 2018-12-09 13:52:03 -06:00
parent 9fcd93b7b2
commit 5422a8032d

View file

@ -40,6 +40,7 @@ use std::default::Default;
use std::ffi::{CStr, CString}; use std::ffi::{CStr, CString};
use std::ops::Drop; use std::ops::Drop;
use std::os::raw::{c_char, c_void}; use std::os::raw::{c_char, c_void};
use std::ptr;
// Simple offset_of macro akin to C++ offsetof // Simple offset_of macro akin to C++ offsetof
#[macro_export] #[macro_export]