Re: [Pyobjc-dev] Mapping symbols from existing binaries
Brought to you by:
ronaldoussoren
From: Ronald O. <ron...@ma...> - 2004-05-12 07:41:04
|
On 12-mei-04, at 4:20, Bob Ippolito wrote: > I think it's about time to start considering the ability to grab > symbols from bundles and frameworks. The particular use case I'm > thinking of is extern constant NSStrings and integers, so we can make > it more painless to wrap existing frameworks and defer more ObjC code > to Python. > > What kind of interface do you all think this should have? > > This would be my proposal: > objc.loadSymbols(str moduleName, dict dictToUpdate str binaryPath, > dict symbolNamesToSignatures) -> dict symbolNamesToObjects That should be easy enough, this is register_variableList in wrapper-const-table.h. This function whould have to be moved into the core and made available to python code. > > Ronald, what's your schedule for the release? As soon as possible, the only reason I haven't done a release yet is that the unittests cause a crash on 10.2. I checked in a change that might fix that, but I have not yet checked this. > Would it be possible to get this in beforehand? Do you want to write > it or should I? Feel free to add it, if you include some unittests and documentation. Ronald -- X|support bv http://www.xsupport.nl/ T: +31 610271479 F: +31 204416173 |