On 2015-08-14 14:39, ponce wrote:

I see. I've indeed started to cast but only to get the right return
type, and left the vararg list. That may be the problem.

The signature of the objc_msgSend function is mostly irrelevant. The function needs to be casted because it will jump to the implementation of the method so the arguments to the objc_msgSend call needs to be setup as the implementation of the method expects.

--
/Jacob Carlborg

Reply via email to