Wiki Page Content

Differences between revisions 1 and 3 (spanning 2 versions)
Revision 1 as of 2010-05-18 01:01:16
Size: 620
Editor: SheenaSmith
Comment: create page, add content (Wed Mar 10 ver; changeset 4428)
Revision 3 as of 2010-08-27 18:38:31
Size: 1267
Editor: SheenaSmith
Comment: update content (old wiki)
Deletions are marked like this. Additions are marked like this.
Line 16: Line 16:
||'''handle'''||a pointer to the object handle|| ||'''handle'''||*a valid shared object handle returned by [[SDL_LoadObject]]()*||
Line 24: Line 24:
''You can add useful comments here'' *<<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>>*
Line 27: Line 31:
 .[[SDL_LoadObject]] ???  .[[SDL_LoadObject]] *
 .[[SDL_LoadFunction]] *

DRAFT

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

*
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.
*


CategoryAPI, CategorySharedObject

None: SDL_UnloadObject (last edited 2017-03-11 22:59:38 by PhilippWiesemann)

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit