Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libSDL
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PocketInsanity
libSDL
Commits
7685a189
Commit
7685a189
authored
Jul 30, 2010
by
Sam Lantinga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Documentation updates
parent
4f5f8647
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
13 deletions
+12
-13
SDL.h
include/SDL.h
+4
-4
SDL_version.h
include/SDL_version.h
+7
-7
SDL_error.c
src/SDL_error.c
+1
-2
No files found.
include/SDL.h
View file @
7685a189
...
...
@@ -139,16 +139,16 @@ extern DECLSPEC int SDLCALL SDL_InitSubSystem(Uint32 flags);
extern
DECLSPEC
void
SDLCALL
SDL_QuitSubSystem
(
Uint32
flags
);
/**
* This function returns mask of the specified subsystems which have
* been initialized.
* This function returns
a
mask of the specified subsystems which have
*
previously
been initialized.
*
* If \c flags is 0, it returns a mask of all initialized subsystems.
*/
extern
DECLSPEC
Uint32
SDLCALL
SDL_WasInit
(
Uint32
flags
);
/**
* This function cleans up all initialized subsystems
and unloads the
*
dynamically linked library. You should
call it upon all exit conditions.
* This function cleans up all initialized subsystems
. You should
* call it upon all exit conditions.
*/
extern
DECLSPEC
void
SDLCALL
SDL_Quit
(
void
);
...
...
include/SDL_version.h
View file @
7685a189
...
...
@@ -113,11 +113,10 @@ typedef struct SDL_version
/**
* \brief Get the version of SDL that is linked against your program.
*
* If you are using a shared library (DLL) version of SDL, then it is
* possible that it will be different than the version you compiled against.
*
* This is a real function; the macro SDL_VERSION() tells you what version
* of SDL you compiled against:
* If you are linking to SDL dynamically, then it is possible that the
* current version will be different than the version you compiled against.
* This function returns the current version, while SDL_VERSION() is a
* macro that tells you what version you compiled with.
*
* \code
* SDL_version compiled;
...
...
@@ -140,8 +139,9 @@ extern DECLSPEC void SDLCALL SDL_GetVersion(SDL_version * ver);
/**
* \brief Get the code revision of SDL that is linked against your program.
*
* This is an arbitrary string (a hash value, actually), and is only useful
* in comparing against other revisions. It is NOT an incrementing number.
* Returns an arbitrary string (a hash value) uniquely identifying the
* exact revision of the SDL library in use, and is only useful in comparing
* against other revisions. It is NOT an incrementing number.
*/
extern
DECLSPEC
const
char
*
SDLCALL
SDL_GetRevision
(
void
);
...
...
src/SDL_error.c
View file @
7685a189
...
...
@@ -30,8 +30,7 @@
/* Routine to get the thread-specific error variable */
#if SDL_THREADS_DISABLED
/* !!! FIXME: what does this comment mean? Victim of Search and Replace? */
/* The SDL_arraysize(The ),default (non-thread-safe) global error variable */
/* The default (non-thread-safe) global error variable */
static
SDL_error
SDL_global_error
;
#define SDL_GetErrBuf() (&SDL_global_error)
#else
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment