X-Git-Url: https://deadsoftware.ru/gitweb?p=cpc.git;a=blobdiff_plain;f=src%2Fcpfront%2Farm%2FLib%2FMod%2FFFI.cp;h=907635b816c832e7e2ab12e61b25faa9ee318f9b;hp=9297a393c93006756b0c62de4ddcfa95ae105698;hb=40872c64fb10eeb0864a6819923504a02a225c19;hpb=037e816d3cb3967363fdaad60535fc9a7fa0748e diff --git a/src/cpfront/arm/Lib/Mod/FFI.cp b/src/cpfront/arm/Lib/Mod/FFI.cp index 9297a39..907635b 100644 --- a/src/cpfront/arm/Lib/Mod/FFI.cp +++ b/src/cpfront/arm/Lib/Mod/FFI.cp @@ -88,6 +88,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.