discuss-gnustep
[Top][All Lists]
Advanced

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

Re: GNU ObjC runtime question


From: Nicola Pero
Subject: Re: GNU ObjC runtime question
Date: Wed, 27 Mar 2002 11:22:17 +0000 (GMT)

 Class myClass; 
 void *es = NULL;

 while ((myClass = objc_next_class (&es)) != Nil)
   {
     ... do something with myClass; 
   }

> Hi,
> 
> I'm currently porting some frameworks from OS X to GNUstep. 
> Unfortunately I'm not very familiar with the GNU ObjC runtime but 
> there's one thing I need to know in order to finish the porting. In the 
> NeXT runtime there's something like this:
> 
> int objc_getClassList(buffer, bufferLen)
> 
> We use it to find out about all the classes currently loaded into the 
> runtime. In a special C function we can then identify all subclasses of 
> a specific class in the runtime. Is there a similar function available 
> in the GNU runtime? Is there another possibility of finding out all 
> currently loaded subclasses of a specific class?
> 
> Thanks in advance,
> 
>    Marcus
> 
> --
> Marcus Mueller  .  .  .  crack-admin/coder ;-)
> Mulle kybernetiK  .  http://www.mulle-kybernetik.com
> Current projects: finger znek@mulle-kybernetik.com
> 
> 
> _______________________________________________
> Discuss-gnustep mailing list
> Discuss-gnustep@gnu.org
> http://mail.gnu.org/mailman/listinfo/discuss-gnustep
> 




reply via email to

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