This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

(objective-C runtime) dynamicly creating new classes


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]