|
- //-------------------------------------------------------------*- C -*-
- // DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
- // Version 2, December 2004
- //
- // Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
- //
- // Everyone is permitted to copy and distribute verbatim or modified
- // copies of this license document, and changing it is allowed as long
- // as the name is changed.
- //
- // DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
- // TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
- //
- // 0. You just DO WHAT THE FUCK YOU WANT TO.
- //
- // Copyright (c) 2020- donkey <anjingyu_ws@foxmail.com>
- //
- // THIS FILE IS PART OF sww PROJECT
-
- #include "sww/version.h"
-
- #define SWW_VERSION_MAJOR 1
- #define SWW_VERSION_MINOR 0
- #define SWW_VERSION_PATCH 1
-
- #define SWW_VERSION "1.0.1"
-
- const char *swwVersion()
- {
- #if defined(DEBUG)
- static const char *version = SWW_VERSION " (Debug)";
- #else /* !DEBUG */
- static const char *version = SWW_VERSION " (Release)";
- #endif /* DEBUG */
-
- return version;
- }
|