mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-08-30 18:41:38 +00:00
Updated source to match SDL function prototype style
This commit is contained in:
@@ -32,8 +32,7 @@
|
||||
#define INCL_DOSERRORS
|
||||
#include <os2.h>
|
||||
|
||||
void *
|
||||
SDL_LoadObject(const char *sofile)
|
||||
void *SDL_LoadObject(const char *sofile)
|
||||
{
|
||||
ULONG ulRC;
|
||||
HMODULE hModule;
|
||||
@@ -65,8 +64,7 @@ SDL_LoadObject(const char *sofile)
|
||||
return (void *)hModule;
|
||||
}
|
||||
|
||||
void *
|
||||
SDL_LoadFunction(void *handle, const char *name)
|
||||
void *SDL_LoadFunction(void *handle, const char *name)
|
||||
{
|
||||
ULONG ulRC;
|
||||
PFN pFN;
|
||||
@@ -90,8 +88,7 @@ SDL_LoadFunction(void *handle, const char *name)
|
||||
return (void *)pFN;
|
||||
}
|
||||
|
||||
void
|
||||
SDL_UnloadObject(void *handle)
|
||||
void SDL_UnloadObject(void *handle)
|
||||
{
|
||||
if (handle != NULL) {
|
||||
DosFreeModule((HMODULE)handle);
|
||||
|
||||
Reference in New Issue
Block a user