module lib.sdl2.loadso
Code Map
module lib.sdl2.loadso;
//! This function dynamically loads a shared object and returns a pointer
//! to the object handle (or NULL if there was an error). The 'sofile'
//! parameter is a system dependent name of the object file.
fn SDL_LoadObject(sofile: const(const(char)*)) void*;
//! Given an object handle, this function looks up the address of the named
//! function in the shared object and returns it. This address is no longer
//! valid after calling SDL_UnloadObject().
fn SDL_LoadFunction(handle: void*, name: const(const(char)*)) void*;
//! Unload a shared object from memory.
fn SDL_UnloadObject(handle: void*);
fn SDL_LoadObject(sofile: const(const(char)*)) void*
This function dynamically loads a shared object and returns a pointer to the object handle (or NULL if there was an error). The 'sofile' parameter is a system dependent name of the object file.
fn SDL_LoadFunction(handle: void*, name: const(const(char)*)) void*
Given an object handle, this function looks up the address of the named function in the shared object and returns it. This address is no longer valid after calling SDL_UnloadObject().
fn SDL_UnloadObject(handle: void*)
Unload a shared object from memory.