FFI_LAST_ABI fix

This commit is contained in:
Anthony Green
2010-07-23 09:14:00 -04:00
parent 3f5b1375ab
commit d14178be4c
40 changed files with 6251 additions and 54 deletions

View File

@@ -93,7 +93,7 @@ ffi_status ffi_prep_cif(ffi_cif *cif, ffi_abi abi, unsigned int nargs,
ffi_type **ptr;
FFI_ASSERT(cif != NULL);
FFI_ASSERT((abi > FFI_FIRST_ABI) && (abi <= FFI_DEFAULT_ABI));
FFI_ASSERT(abi > FFI_FIRST_ABI && abi < FFI_LAST_ABI);
cif->abi = abi;
cif->arg_types = atypes;