[Openmcl-devel] OS X 10.6 Gestures in CCL 1.6: how to define missing objc method interfaces?

Alexander Repenning ralex at cs.colorado.edu
Sat Dec 4 22:08:34 PST 2010


On Dec 4, 2010, at 2:47 AM, Gary Byers wrote:

> The magnification method on NSEvent takes no other arguments besides
> the receiver and returns a CGFloat, so one could call it via:
> 
> (objc:objc-message-send some-event "magnification" #>CGFloat)
> 
> That's probably adequate if you only have to do it occasionally and if the
> method in question returns a scalar value. 

Works great indeed! Great Thanks.


> 
> If you really want to be able to use #/ and/or want to use a (much) larger
> subset of Snow Leopard, there's no simple way to do that manually, but it's
> not too hard to generate Snow Leopard interfaces.  The Wiki page at
> 
> <http://trac.clozure.com/ccl/wiki/BuildFFIGEN>
> 
> describes how to build and install the translator, and the manual describes
> how to use it.


just wondering, what is the rationale for CCL 1.6 to not yet use 10.6? Is there  some downside?

Alex


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clozure.com/pipermail/openmcl-devel/attachments/20101204/d35db9e6/attachment.htm>


More information about the Openmcl-devel mailing list