From 2855192145c16f2cb0cc9bafeb84ff5e47999748 Mon Sep 17 00:00:00 2001 From: colin Date: Thu, 6 Dec 2018 12:58:31 -0600 Subject: [PATCH] added std::ptr back in import to satisfy build checks --- examples/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/src/lib.rs b/examples/src/lib.rs index 4570f2a..60b38ba 100644 --- a/examples/src/lib.rs +++ b/examples/src/lib.rs @@ -39,7 +39,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]