[Openmcl-devel] creating new objc methods that return strets

alex crain alexcrain at mail.widgetworks.com
Sun Apr 17 12:50:22 PDT 2005


I want to do this:

(define-objc-method (((:struct :<NSR>ange c-range)
		      :word-range-at-point (:<NSP>oint p))
		     hemlock-text-view)
   "Returns the lisp token under the mouse pointer."
   ...)

except that there is no wordRangeAtPoint: method predefined in COCOA,
and when I try to create a new definition from whole cloth then I 
always get

Error in process listener(1): NonSTRET SEND in (SEND SELF 
:WORD-RANGE-AT-POINT POINT)

When I try to invoke it.

Is this a bug, or did I miss something?

:alex




More information about the Openmcl-devel mailing list