[Openmcl-devel] forward declare an ObjC message?

alex crain alexcrain at mail.widgetworks.com
Thu Feb 10 18:50:06 UTC 2005


I would like to reference messages before they are declared, ie:

(defclass a-window ....)

(defun do-something ()
	(send (@CLASS a-window) 'show-me))

(define-objc-class-message ((:void show-me) a-window) ...)

But I can't because the SEND call can't resolve the showMe message name.

Is there any way to forward declare the message name?

:alex





More information about the Openmcl-devel mailing list