Re: C++ RTTI/dynamic_cast across shared module boundaries?
Re: C++ RTTI/dynamic_cast across shared module boundaries?
- Subject: Re: C++ RTTI/dynamic_cast across shared module boundaries?
- From: Zachary Pincus <email@hidden>
- Date: Sun, 5 Mar 2006 17:24:22 -0800
Python appears to be using:
NSCreateObjectFileImageFromFile and NSLinkImage
http://svn.python.org/view/python/trunk/Python/dynload_next.c?
rev=36531&view=markup
It looks like the options passed to NSLinkImage (which, I assume, is
where the GLOBAL type flags would go that are passed to dlopen
eventually) are hard-coded for Mac Python, so there's the selection
of loading bundles globally versus locally is done at compile-time,
not at run-time.
I'll take this up with the python folk.
Zach
On Mar 5, 2006, at 4:50 PM, Eric Albert wrote:
On Mar 5, 2006, at 3:59 PM, Zachary Pincus wrote:
I've been asking about this on the python lists, and have just
received a discouraging reply. Python extensions on OS X are
bundles, not shared libraries, and are not opened with dlopen().
That's odd...if they don't use dlopen, how do they open them? All
of the other methods I can think of for dynamically loading code
pretty much go through dlopen in the end....
-Eric
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden