|
Size: 829
Comment:
|
← Revision 6 as of 2017-03-11 22:55:32 ⇥
Size: 825
Comment: Fixed include and comment in example.
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 22: | Line 22: |
| #include "SDL_loadso.h" | #include "SDL.h" |
| Line 24: | Line 24: |
| // Dynamically load mylib.so | /* Dynamically load mylib.so */ |
SDL_LoadObject
Use this function to dynamically load a shared object and return a pointer to the object handle.
Contents
Syntax
void* SDL_LoadObject(const char* sofile)
Function Parameters
sofile |
a system dependent name of the object file |
Return Value
Returns a pointer to the object handle or NULL if there was an error; call SDL_GetError() for more information.
Code Examples
#include "SDL.h"
/* Dynamically load mylib.so */
SDL_LoadObject("mylib.so");
Remarks
You can add useful comments here
