[Pythonmac-SIG] problem fixing Carbon.AE/CarbonX.AE conflicts
has
hengist.podd at virgin.net
Fri Nov 10 12:31:06 CET 2006
On 9 Nov 2006, at 16:49, Ronald Oussoren wrote:
>> Unfortunately, when I try to do this, all I get is a bunch of
>> 'symbol not found' errors on import:
>
> That's because there are hooks in the core interpreter for the
> Carbon modules.
Yeah, already took a look at mactoolboxglue.c, but it was all
hardwired and didn't really help. I think there must be other stuff
going on as well.
> PyObjC's code contains an example of how top provide a C API to
> other extensions without cooperation from the Python core is to
> create a struct with function pointers, wrap that in a Python and
> extract that struct again in the other extensions.
OK, will use that approach.
Many thanks,
has
--
http://freespace.virgin.net/hamish.sanderson/
http://appscript.sourceforge.net
http://rb-appscript.rubyforge.org
More information about the Pythonmac-SIG
mailing list