Merge pull request #76 from gavofyork/fix_evmjit_comment

fixed rust-evmjit description of improper_ctypes usage
This commit is contained in:
Gav Wood 2016-01-11 19:11:49 +01:00
commit 995f755211
1 changed files with 1 additions and 1 deletions

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;