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.



_______________________________________________
Help-gnustep mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/help-gnustep

Reply via email to