summaryrefslogtreecommitdiff
path: root/src/sdl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sdl.cpp')
-rw-r--r--src/sdl.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/sdl.cpp b/src/sdl.cpp
index 949766772..91d52d917 100644
--- a/src/sdl.cpp
+++ b/src/sdl.cpp
@@ -16,6 +16,7 @@
#include "sdl.h"
#include <SDL.h>
+/** Number of users of the SDL library. */
static int _sdl_usage;
#ifdef DYNAMICALLY_LOADED_SDL
@@ -78,7 +79,10 @@ static const char *LoadSdlDLL()
#endif /* DYNAMICALLY_LOADED_SDL */
-
+/**
+ * Open the SDL library.
+ * @param x The subsystem to load.
+ */
const char *SdlOpen(uint32 x)
{
#ifdef DYNAMICALLY_LOADED_SDL
@@ -96,6 +100,10 @@ const char *SdlOpen(uint32 x)
return NULL;
}
+/**
+ * Close the SDL library.
+ * @param x The subsystem to close.
+ */
void SdlClose(uint32 x)
{
if (x != 0) {