help-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNU Objective-C runtime questions


From: Sébastien Pierre
Subject: Re: GNU Objective-C runtime questions
Date: Mon, 13 Dec 2004 14:56:23 +0100


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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]