Re: GNU Objective-C runtime questions

Sébastien Pierre <[email protected]>
Newsgroups gmane.comp.lib.gnustep.user
Message-ID <[email protected]>
Le 9 déc. 04, à 04:24, Adam Fedor a écrit :

>> - objc_getClassList
>> - objc_addClass
>>
>> These operations are present in Apple Objc runtime.
>>
> There are similar functions in the GNU runtime. Note that GNUstep 
> implements compatibility runtime functions that work on both Apple and 
> GNU runtimes. See the GNUstepBase/GSObjCRuntime.h header in 
> gnustep-base. At the very least you will be able to see how to 
> implement the equivalent functionality with the GNU runtime.

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 ?

TIA,

  -- Sébastien

--
«Too old to be alternative, too alternative to be old.»
<http://www.type-z.org> | Robert Smith, talking about his epitaph.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.