Skip to content

Commit 2e3e891

Browse files
Add SDL_revision
1 parent 32256bb commit 2e3e891

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

units/SDL_revision.inc

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
This file is part of:
3+
4+
SDL3 for Pascal
5+
(https://github.com/PascalGameDevelopment/SDL3-for-Pascal)
6+
SPDX-License-Identifier: Zlib
7+
}
8+
9+
{
10+
* SDL_revision.h contains the SDL revision, which might be defined on the
11+
* compiler command line, or generated right into the header itself by the
12+
* build system.
13+
}
14+
15+
{*
16+
* This macro is a string describing the source at a particular point in
17+
* development.
18+
*
19+
* This string is often generated from revision control's state at build time.
20+
*
21+
* This string can be quite complex and does not follow any standard. For
22+
* example, it might be something like "SDL-prerelease-3.1.1-47-gf687e0732".
23+
* It might also be user-defined at build time, so it's best to treat it as a
24+
* clue in debugging forensics and not something the app will parse in any
25+
* way.
26+
*
27+
* \since This macro is available since SDL 3.0.0.
28+
}
29+
const
30+
SDL_REVISION = 'preview-3.1.6-0-g78cc5c173';
31+

0 commit comments

Comments
 (0)