Mercurial > sdl-ios-xcode
comparison src/loadso/dlopen/SDL_loadso.c @ 1358:c71e05b4dc2e
More header massaging... works great on Windows. ;-)
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Fri, 10 Feb 2006 06:48:43 +0000 |
parents | c9b51268668f |
children |
comparison
equal
deleted
inserted
replaced
1357:e18467d67cfd | 1358:c71e05b4dc2e |
---|---|
32 #endif | 32 #endif |
33 | 33 |
34 #include <stdio.h> | 34 #include <stdio.h> |
35 #include <dlfcn.h> | 35 #include <dlfcn.h> |
36 | 36 |
37 #include "SDL_types.h" | |
38 #include "SDL_error.h" | |
39 #include "SDL_loadso.h" | 37 #include "SDL_loadso.h" |
40 | 38 |
41 void *SDL_LoadObject(const char *sofile) | 39 void *SDL_LoadObject(const char *sofile) |
42 { | 40 { |
43 void *handle = dlopen(sofile, RTLD_NOW); | 41 void *handle = dlopen(sofile, RTLD_NOW); |