|
Size: 1267
Comment: update content (old wiki)
|
← Revision 6 as of 2017-03-11 22:59:38 ⇥
Size: 614
Comment: Removed old formatting.
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 3: | Line 3: |
| ||<tablewidth="100%" style="color: #FF0000;" :> DRAFT|| | |
| Line 16: | Line 15: |
| ||'''handle'''||*a valid shared object handle returned by [[SDL_LoadObject]]()*|| | ||'''handle'''||a valid shared object handle returned by [[SDL_LoadObject]]()|| |
| Line 24: | Line 23: |
| *<<BR>>These functions only work on C function names. Other languages may have name mangling and intrinsic language support that varies from compiler to compiler. Make sure you declare your function pointers with the same calling convention as the actual library function. Your code will crash mysteriously if you do not do this. Avoid namespace collisions. If you load a symbol from the library, it is not defined whether or not it goes into the global symbol namespace for the application. If it does and it conflicts with symbols in your code or other shared libraries, you will not get the results you expect.<<BR>>* |
''You can add useful comments here'' |
| Line 31: | Line 26: |
| .[[SDL_LoadObject]] * .[[SDL_LoadFunction]] * |
.[[SDL_LoadFunction]] .[[SDL_LoadObject]] |
SDL_UnloadObject
Use this function to unload a shared object from memory.
Syntax
void SDL_UnloadObject(void* handle)
Function Parameters
handle |
a valid shared object handle returned by SDL_LoadObject() |
Code Examples
You can add your code example here
Remarks
You can add useful comments here
