fixed rust-evmjit description of improper_ctypes usage

This commit is contained in:
debris 2016-01-11 18:56:28 +01:00
parent f03e405220
commit d1d5116d2d

View File

@ -385,8 +385,8 @@ pub mod ffi {
pub fn evmjit_exec(context: *mut JitContext) -> JitReturnCode;
}
// ExtHandle is not a C type, so we need to allow "improper_ctypes"
#[link(name="evmjit")]
// ExtHandle does not have to by a C type
#[allow(improper_ctypes)]
extern "C" {
pub fn evmjit_create_context(data: *mut JitRuntimeData, ext: *mut ExtHandle) -> *mut JitContext;