Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
Merge pull request #76 from gavofyork/fix_evmjit_comment
Browse files Browse the repository at this point in the history
fixed rust-evmjit description of improper_ctypes usage
  • Loading branch information
Gav Wood committed Jan 11, 2016
2 parents f03e405 + d1d5116 commit 995f755
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust-evmjit/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 995f755

Please sign in to comment.