DerelictCocoa
Jacob Carlborg via Digitalmars-d-announce
digitalmars-d-announce at puremagic.com
Fri Aug 14 07:44:12 PDT 2015
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
More information about the Digitalmars-d-announce
mailing list