[Ecls-list] c-inline bug?
Julian Stecklina
der_julian at web.de
Wed Jan 26 06:22:06 UTC 2005
"Goffioul Michael" <goffioul at imec.be> writes:
>> I have this function:
>>
>> (defmethod socket-connect ((socket inet-socket) &rest address)
>> (let ((ip (first address))
>> (port (second address)))
>> (if (= -1
>> (c-inline (port (aref ip 0) (aref ip 1) (aref ip 2)
>> (aref ip 3)
>> (socket-file-descriptor socket))
>> (:int :int :int :int :int)
>
> Aren't you missing a 6th :int here? You defined 6 input arguments but
> specify the type for 5 only.
Maybe I should not code after midnight. ;)
Regards,
--
____________________________
Julian Stecklina / _________________________/
________________/ /
\_________________/ LISP - truly beautiful
More information about the ecl-devel
mailing list