ALib C++ Library
Library Version: 2510 R0
Documentation generated by doxygen
Loading...
Searching...
No Matches
mainargs.inl
Go to the documentation of this file.
1//==================================================================================================
2/// \file
3/// This header-file is part of the \aliblong.
4/// With supporting legacy or module builds, .mpp-files are either recognized by the build-system
5/// as C++20 Module interface files, or are included by the
6/// \ref alib_manual_modules_impludes "import/include headers".
7///
8/// \emoji :copyright: 2013-2025 A-Worx GmbH, Germany.
9/// Published under \ref mainpage_license "Boost Software License".
10//==================================================================================================
11ALIB_EXPORT namespace alib {
12
13 /// The number of command line arguments. Defaults to \c 0.
14 /// \note An application is responsible for setting this global variable in its <c>main()</c>
15 /// function, in case the value is needed somewhere.
16 ALIB_DLL extern int ARG_C;
17
18 /// List of command line arguments if given as single byte character strings.
19 /// \note An application is responsible for setting this global variable in its <c>main()</c>
20 /// function, in case the value is needed somewhere.
21 ALIB_DLL extern const char** ARG_VN;
22
23 /// List of command line arguments if given as multi-byte character strings.
24 /// \note An application is responsible for setting this global variable in its <c>main()</c>
25 /// function, in case the value is needed somewhere.
26 ALIB_DLL extern const wchar_t** ARG_VW;
27
28} // namespace [alib]
29
30
31
32
33
34
#define ALIB_DLL
Definition alib.inl:496
#define ALIB_EXPORT
Definition alib.inl:488
const wchar_t ** ARG_VW
Definition mainargs.cpp:25
const char ** ARG_VN
Definition mainargs.cpp:24
int ARG_C
Definition mainargs.cpp:23