Peter pointed out that the method attributes handling code in Mp-Model-Base limits methods to a single attribute, whereas the attributes pragma supports multiple attributes. I've committed a change that allows multiple attributes, so users can define custom attributes in addition to Exported. Also, I factored out some code in is_public(), to make method_attrs() which returns the list of attributes defined on a method.
Peter uses this stuff to control menu generation, I'm sure there are plenty of other applications. d. ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Maypole-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/maypole-devel
