Rich,

Should I send in a CA and add ancestry verification and error handling
or is this an unacceptable change?

-Matt

On Sep 15, 12:22 am, Matt Revelle <[EMAIL PROTECTED]> wrote:
> I modifed clojure/genclass to support adding exposer methods for  
> protected fields in classes higher up the hierarchy than the  
> superclass.  Interfaces should also be supported too.
>
> The patch can be found 
> here:http://clojure.googlegroups.com/web/genclass_exposers.diff
>
> An example with the new syntax:
>
> (gen-and-load-class 'motive.visual.TestSimpleGame
>                      :extends com.jme.app.SimpleGame
>                      :exposes '{[com.jme.app.BaseSimpleGame rootNode]  
> {:get getRootNode :set setRootNode}})
>
> The original exposes format is supported too, which defaults to the  
> superclass.  There's currently no check done to verify that the class/
> interface specified as the home of the field is a part of the  
> hierarchy of the new class.  I'll likely add that and clean things up  
> a bit after I get some sleep and feedback.
>
> -Matt
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to