Re: [Pyobjc-dev] GNUstep.
Brought to you by:
ronaldoussoren
From: Ronald O. <ous...@ci...> - 2003-01-04 18:19:42
|
On Saturday, Jan 4, 2003, at 18:51 Europe/Amsterdam, Mirko Viviani wrote: > Ronald Oussoren <ous...@ci...> ha scritto: > >> Sure, especially given the name-clash your having. I've renamed >> objc_error to ObjCExc_error. > > Ok, thanks. > > I've modified some things in class-builder.m (see attach) but as you > can see > the source loose readability. > > How to proceed ? Lot's of ifdefs is not the right solution. The code in class-builder.m should use the definitions from objc_support.h instead of the native Apple/NexStep definitions. Hopefully this mechanism solves most of your problems. BTW. I noticed GNUstep has a build-option for using a garbage-collector. Using that option might cause problems with subclassing Objective-C classes from Python, the current code depends on reference-counts in both Python and Objective-C to detect if objects are alive. Ronald |