00001 /* 00002 SDL - Simple DirectMedia Layer 00003 Copyright (C) 1997-2009 Sam Lantinga 00004 00005 This library is free software; you can redistribute it and/or 00006 modify it under the terms of the GNU Lesser General Public 00007 License as published by the Free Software Foundation; either 00008 version 2.1 of the License, or (at your option) any later version. 00009 00010 This library is distributed in the hope that it will be useful, 00011 but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00013 Lesser General Public License for more details. 00014 00015 You should have received a copy of the GNU Lesser General Public 00016 License along with this library; if not, write to the Free Software 00017 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 00018 00019 Sam Lantinga 00020 slouken@libsdl.org 00021 */ 00022 00043 #ifndef _SDL_loadso_h 00044 #define _SDL_loadso_h 00045 00046 #include "SDL_stdinc.h" 00047 #include "SDL_error.h" 00048 00049 #include "begin_code.h" 00050 /* Set up for C function definitions, even when using C++ */ 00051 #ifdef __cplusplus 00052 extern "C" { 00053 #endif 00054 00060 extern DECLSPEC void * SDLCALL SDL_LoadObject(const char *sofile); 00061 00067 extern DECLSPEC void * SDLCALL SDL_LoadFunction(void *handle, const char *name); 00068 00070 extern DECLSPEC void SDLCALL SDL_UnloadObject(void *handle); 00071 00072 /* Ends C function definitions when using C++ */ 00073 #ifdef __cplusplus 00074 } 00075 #endif 00076 #include "close_code.h" 00077 00078 #endif /* _SDL_loadso_h */