src/loadso/dummy/SDL_sysloadso.c
branchSDL-1.3
changeset 1668 4da1ee79c9af
parent 1662 782fd950bd46
equal deleted inserted replaced
1667:1fddae038bc8 1668:4da1ee79c9af
    27 /* System dependent library loading routines                           */
    27 /* System dependent library loading routines                           */
    28 
    28 
    29 #include "SDL_loadso.h"
    29 #include "SDL_loadso.h"
    30 
    30 
    31 void *
    31 void *
    32 SDL_LoadObject (const char *sofile)
    32 SDL_LoadObject(const char *sofile)
    33 {
    33 {
    34     const char *loaderror = "SDL_LoadObject() not implemented";
    34     const char *loaderror = "SDL_LoadObject() not implemented";
    35     SDL_SetError ("Failed loading %s: %s", sofile, loaderror);
    35     SDL_SetError("Failed loading %s: %s", sofile, loaderror);
    36     return (NULL);
    36     return (NULL);
    37 }
    37 }
    38 
    38 
    39 void *
    39 void *
    40 SDL_LoadFunction (void *handle, const char *name)
    40 SDL_LoadFunction(void *handle, const char *name)
    41 {
    41 {
    42     const char *loaderror = "SDL_LoadFunction() not implemented";
    42     const char *loaderror = "SDL_LoadFunction() not implemented";
    43     SDL_SetError ("Failed loading %s: %s", name, loaderror);
    43     SDL_SetError("Failed loading %s: %s", name, loaderror);
    44     return (NULL);
    44     return (NULL);
    45 }
    45 }
    46 
    46 
    47 void
    47 void
    48 SDL_UnloadObject (void *handle)
    48 SDL_UnloadObject(void *handle)
    49 {
    49 {
    50     /* no-op. */
    50     /* no-op. */
    51 }
    51 }
    52 
    52 
    53 #endif /* SDL_LOADSO_DUMMY || SDL_LOADSO_DISABLED */
    53 #endif /* SDL_LOADSO_DUMMY || SDL_LOADSO_DISABLED */