Le 13 d�c. 04, � 04:35, Adam Fedor a �crit :
On Dec 10, 2004, at 1:00 AM, S�bastien Pierre wrote:
In this file, I notice that the "GS_EXPORT void GSObjCAddClasses(NSArray *classes);" method could be split into an "GSObjCAddClass" and an "GSObjcAddClasses".
For the moment, I have to create an NSArray with only one classe to add it, which is not really efficient. Would you consider adding a "GSObjCAddClass" method ?
I think the interface is that way because it is better in general (at least for GNU) to insert a number of classes at once. The new function you propose would be little more than what you would have to do to put a class into and array.
Actually, the code necessary for this function is already contained in the `GSObjCAddClasses' implementation. The trick would be simply to separate this code in a `GSObjCAddClass'.
If I send a patch, is there a chance for it to be accepted ?
-- S�bastien
-- �On ne boit pas du vin avec un CheeseBurger dans les mains.� <http://www.type-z.org> -- Zo� D. on houtskool
_______________________________________________ Help-gnustep mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/help-gnustep
