(objective-C runtime) dynamicly creating new classes

Ronald Oussoren oussoren@cistron.nl
Fri Feb 6 11:58:00 GMT 2004


Hi,

I'm one of the developers of PyObjC, a Python binding to Cocoa on MacOS 
X. This is actually a binding to the Objective-C runtime on MacOS X.

We'd like to support GNUstep as well, but that isn't working out well 
at the moment. It mostly works, except for one very important feature: 
creating new Objective-C classes.

The Apple/NeXT Objective-C runtime has a public API for creating new 
Objective-C classes at runtime, and we use this API to enable creating 
new Objective-C classes in Python.

The GNU runtime does not seem to have a public API for creating new 
classes. I have been using some private functions in the GNU runtime to 
get us going, but that is a very fragile solution that already broke 
several times.

Would it be possible to add a function for creating new classes to the 
GNU Objective-C runtime, preferably with an interface that is simular 
to objc_addClass in the Apple/NeXT runtime?

Ronald

--
X|support bv            http://www.xsupport.nl/
T:  +31 610271479       F:  +31 204416173



More information about the Gcc mailing list