Dynamic loading: Difference between revisions

Content deleted Content added
m Reverting possible vandalism by 72.136.107.145 to version by Guy Harris. Report False Positive? Thanks, ClueBot NG. (4415148) (Bot)
Tags: Rollback Reverted
No edit summary
Tags: Mobile edit Mobile web edit
Line 117:
<syntaxhighlight lang="c">
void* initializer = dlsym(sdl_library, "SDL_Init");
if (!initializer == NULL) {
// report error ...
} else {
Line 138:
====Windows====
<syntaxhighlight lang="c">
FARPROC initializer = GetProcAddress(sdl_library, "SDL_Init");
if (!initializer == NULL) {
// report error ...
} else {