hi`
not an important feature, but adding a header to SDL that makes
dlsym’ing of SDL easy might be a nice feature (I want to add a
precompiled version of SDL to UT but default to using the one
installed). I guess I could do it if it has a chance of getting
incorporated to the source ;)–
Daniel Vogel My opinions may have changed,
666 @ http://grafzahl.de but not the fact that I am right
hi`
from SDL.h:
/* As of version 0.5, SDL is loaded dynamically into the application */
how and where, or should it read linked instead of loaded???
/* This function loads the SDL dynamically linked library and
initializes
- the subsystems specified by ‘flags’ (and those satisfying
dependencies)
- Unless the SDL_INIT_NOPARACHUTE flag is set, it will install cleanup
- signal handlers for some commonly ignored fatal signals (like
SIGSEGV)
*/
extern DECLSPEC int SDL_Init(Uint32 flags);–
Daniel Vogel My opinions may have changed,
666 @ http://grafzahl.de but not the fact that I am right
hi`
not an important feature, but adding a header to SDL that makes
dlsym’ing of SDL easy might be a nice feature (I want to add a
precompiled version of SDL to UT but default to using the one
installed). I guess I could do it if it has a chance of getting
incorporated to the source
Look in src/main/win32/exports/ for an example of a perl script that
parses the headers to generate function export listings.
I’m inclined not to include such a header in the core of SDL, since it
would easily get out of date, but you could automate the generation of
one for yourself.
See ya!
-Sam Lantinga (slouken at devolution.com)
Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec
hi`
from SDL.h:
/* As of version 0.5, SDL is loaded dynamically into the application */
how and where, or should it read linked instead of loaded???
This functionality was dropped in 0.8 because of build complications.
-Sam Lantinga (slouken at devolution.com)
Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec
Sam Lantinga wrote:
Look in src/main/win32/exports/ for an example of a perl script that
parses the headers to generate function export listings.
The first time that the fact that VC can’t automatically create an
’export’ file saves me some work
I’m inclined not to include such a header in the core of SDL, since it
would easily get out of date, but you could automate the generation of
one for yourself.
I will have a look at the script tomorrow and try to create a version
that autocreates a ‘header’ file usefull for dlopening SDL.–
Daniel Vogel My opinions may have changed,
666 @ http://grafzahl.de but not the fact that I am right