X-Git-Url: https://deadsoftware.ru/gitweb?p=cpc.git;a=blobdiff_plain;f=src%2Fcpfront%2F486%2FLib%2FMod%2FFFI.cp;h=d14bf4f1a0c3fc0917a2b9881becd90174fa0c71;hp=40300f1228be7ec374b385b8b5982b5fd8f7b43e;hb=HEAD;hpb=13d3d1de23a0b1215c4d68f28922bf311a201eca diff --git a/src/cpfront/486/Lib/Mod/FFI.cp b/src/cpfront/486/Lib/Mod/FFI.cp index 40300f1..d14bf4f 100644 --- a/src/cpfront/486/Lib/Mod/FFI.cp +++ b/src/cpfront/486/Lib/Mod/FFI.cp @@ -87,6 +87,6 @@ MODULE LibFFI ["ffi.h"]; PROCEDURE [ccall] prep_cif* ["ffi_prep_cif"] (VAR c: cif; a: abi; nargs: types.unsigned_int; rtype: POINTER TO type; atypes: POINTER [untagged] TO ARRAY [untagged] OF POINTER TO type): status; PROCEDURE [ccall] prep_cif_var* ["ffi_prep_cif_var"] (VAR c: cif; a: abi; nfixedargs, ntotalargs: types.unsigned_int; rtype: POINTER TO type; atypes: POINTER [untagged] TO ARRAY [untagged] OF POINTER TO type): status; - PROCEDURE [ccall] call* ["ffi_call"] (VAR c: cif; fn, rvalue, avalue: SYSTEM.ADDRESS); + PROCEDURE [ccall] call* ["ffi_call"] (VAR c: cif; fn, rvalue, avalue: INTEGER); END LibFFI.