Re: [Pyobjc-dev] Functions in the Objective-C method table
Brought to you by:
ronaldoussoren
From: Jack J. <Jac...@or...> - 2002-10-08 20:37:53
|
On dinsdag, oktober 8, 2002, at 03:06 , Ronald Oussoren wrote: >>> The major problem I see with the current version of PyObjC is >>> the (large) list of functions that are used in the method >>> dispatch tables in Objective-C classes (the file >>> 'Modules/objc/register.m'). Using a static list makes the >>> compile-time of PyObjC too long and makes it necessary to add >>> C module when you want to override methods whose signature is >>> not in the table. >> >> Is it possible to find out how the ObjC-Java bridge handles >> this? It must have the same problems, if I'm not mistaken, and >> it'll also have the super method call problem. > > I'll take a look at the code generated by bridget, but I > wouldn't be surprised if they don't have the same problem > because they generate static wrappers. Uhm... You've lost me here, why would static wrappers make a difference? Or are you suggesting that for every method [x] they generate both a [object x] and [super x] wrapper? -- - Jack Jansen <Jac...@or...> http://www.cwi.nl/~jack - - If I can't dance I don't want to be part of your revolution -- Emma Goldman - |