From 5422a8032d0f3f0738b226aec6339acbe518c4e1 Mon Sep 17 00:00:00 2001 From: colin Date: Sun, 9 Dec 2018 13:52:03 -0600 Subject: [PATCH] again, added `use std::ptr;` to lib.rs --- examples/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/src/lib.rs b/examples/src/lib.rs index 6a952c4..69a259e 100644 --- a/examples/src/lib.rs +++ b/examples/src/lib.rs @@ -40,6 +40,7 @@ use std::default::Default; use std::ffi::{CStr, CString}; use std::ops::Drop; use std::os::raw::{c_char, c_void}; +use std::ptr; // Simple offset_of macro akin to C++ offsetof #[macro_export]