include/SDL_loadso.h
changeset 8215 54555ad9342c
parent 8210 581caa876b2e
child 9619 b94b6d0bff0f
equal deleted inserted replaced
8214:c6006ec834fa 8215:54555ad9342c
    56  *  The 'sofile' parameter is a system dependent name of the object file.
    56  *  The 'sofile' parameter is a system dependent name of the object file.
    57  */
    57  */
    58 extern DECLSPEC void *SDLCALL SDL_LoadObject(const char *sofile);
    58 extern DECLSPEC void *SDLCALL SDL_LoadObject(const char *sofile);
    59 
    59 
    60 /**
    60 /**
    61  *  This function returns a handle to an already-loaded shared object and 
       
    62  *  returns a pointer to the object handle. If the object file was not loaded
       
    63  *  the function returns NULL. This function adds a reference to the shared
       
    64  *  object, so the caller should call SDL_UnloadObject when they are finished
       
    65  *  with this reference to ensure that the object can be unloaded.
       
    66  *  The 'sofile' parameter is a system dependent name of the object file.
       
    67  */
       
    68 extern DECLSPEC void *SDLCALL SDL_GetLoadedObject(const char *sofile);
       
    69 
       
    70 /**
       
    71  *  Given an object handle, this function looks up the address of the
    61  *  Given an object handle, this function looks up the address of the
    72  *  named function in the shared object and returns it.  This address
    62  *  named function in the shared object and returns it.  This address
    73  *  is no longer valid after calling SDL_UnloadObject().
    63  *  is no longer valid after calling SDL_UnloadObject().
    74  */
    64  */
    75 extern DECLSPEC void *SDLCALL SDL_LoadFunction(void *handle,
    65 extern DECLSPEC void *SDLCALL SDL_LoadFunction(void *handle,