Mercurial > sdl-ios-xcode
comparison src/SDL_loadso.c @ 707:c67d4fb10a45
*** empty log message ***
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 30 Aug 2003 21:57:23 +0000 |
parents | 35ff0890ac4e |
children | d0d50f2b044c |
comparison
equal
deleted
inserted
replaced
706:a33b7819b917 | 707:c67d4fb10a45 |
---|---|
182 | 182 |
183 void SDL_UnloadObject(void *handle) | 183 void SDL_UnloadObject(void *handle) |
184 { | 184 { |
185 #if defined(__BEOS__) | 185 #if defined(__BEOS__) |
186 image_id library_id; | 186 image_id library_id; |
187 #elif defined(macintosh) | |
188 CFragConnectionID library_id; | |
187 #endif | 189 #endif |
188 if ( handle == NULL ) { | 190 if ( handle == NULL ) { |
189 return; | 191 return; |
190 } | 192 } |
191 #if defined(USE_DLOPEN) | 193 #if defined(USE_DLOPEN) |
198 /* * */ | 200 /* * */ |
199 library_id = (image_id)handle; | 201 library_id = (image_id)handle; |
200 unload_add_on(library_id); | 202 unload_add_on(library_id); |
201 #elif defined(macintosh) | 203 #elif defined(macintosh) |
202 /* * */ | 204 /* * */ |
203 CFragConnectionID library_id = (CFragConnectionID)handle; | 205 library_id = (CFragConnectionID)handle; |
204 CloseConnection(library_id); | 206 CloseConnection(library_id); |
205 #elif defined(__MINT__) && defined(ENABLE_LDG) | 207 #elif defined(__MINT__) && defined(ENABLE_LDG) |
206 /* * */ | 208 /* * */ |
207 ldg_close((LDG *)handle, ldg_global); | 209 ldg_close((LDG *)handle, ldg_global); |
208 #endif /* system type */ | 210 #endif /* system type */ |