>>>>> "Ivan" == Ivan Boldyrev <[EMAIL PROTECTED]> writes:
Ivan> On 8720 day of my life Eric Marsden wrote:
>>>>>>> "ib" == Ivan Boldyrev <[EMAIL PROTECTED]> writes:
>>
ib> I'd like call C function with variable number of arguments (like
ib> printf or scanf) from CMU CL. I guess, I can't do it with UFFI.
ib> But I can't understand from docs how I can call it with CMU CL
ib> Alien facility.
>>
>> you can't. Making calls to vararg functions is platform-dependent, and
>> CMUCL doesn't have the necessary glue to enable it (though it probably
>> works "by accident" on current platforms if you use EXTERN-ALIEN and
>> declare the actual types passed).
Ivan> Every C call just push arguments on stack, doesn't it? Or compiler
As Eric says, it depends on the platform. Sparc says the first 6 args
are in registers, including floating-point numbers. The rest, if any,
are on the stack.
Ray