[Ecls-list] c-inline bug?
Julian Stecklina
der_julian at web.de
Wed Jan 26 05:44:02 UTC 2005
Juan Jose Garcia Ripoll <lisp at arrakis.es> writes:
> Julian Stecklina wrote:
>
>>Hallo,
>>
>>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)
>>
> ^^^^^^^^^^^^^^^^^^^^^^^^^^
> You have supplied only 5 C types while your function requires 6
> arguments. The other types are assumed to be :object. I have fixed the
> function so that it issues a warning.
Sorry. :-/ Should have noticed that. But if you look at it long
enough, you do not see the obvious...
Thanks,
--
____________________________
Julian Stecklina / _________________________/
________________/ /
\_________________/ LISP - truly beautiful
More information about the ecl-devel
mailing list