[Ecls-list] c-inline bug?

Goffioul Michael goffioul at imec.be
Wed Jan 26 00:43:13 UTC 2005


> 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.

Michael.




More information about the ecl-devel mailing list