[erlang-questions] Cocoa bridge

Joel Reymont joelr1@REDACTED
Wed Aug 29 22:41:32 CEST 2007

An interesting stumbling block is the implementation of the Erlang  
wrapper for  objc_msgSend. This function has the following signature

	id objc_msgSend(id theReceiver, SEL theSelector, ...)

so a var args list (...) needs to be built to invoke it.

The port output function takes a buffer, though, so the meaning of  
each argument needs to be extracted from that.

I see no option other than to make objc:send take a list of tuples  
where the first element of each tuple specifies the type of the  



More information about the erlang-questions mailing list