Git access to the Pantheios Extras library Pantheios.Extras.Main, which provides a suite of functions that simplify the implementation of main()
, including:
- (un)initialisation of Pantheios library; and
- catching of unhandled exceptions and issuing of diagnostic log statements and contingent reports
Diagnosticism is a standalone library of simple components for aiding in diagnostics for C and C++ projects.
Detailed instructions - via CMake, via bundling, via custom makefile parameters - are provided in the accompanying INSTALL.md file.
int
pantheios_extras_main_invoke(
int argc
, char** argv
, int (*pfnMain)(int, char**)
, char const* programName
, void* reserved
);
int
invoke(
int argc
, char** argv
, int (STLSOFT_CDECL* pfnMain)(int, char**)
, char const* programName
);
int
invoke(
int argc
, char** argv
, int (STLSOFT_CDECL* pfnMain)(int, char**)
);
Examples are provided in the examples
directory, along with a markdown description for each.
Defect reports, feature requests, and pull requests are welcome on https://github.com/synesissoftware/Pantheios.Extras.Main.
- b64 (optional);
- Pantheios;
- STLSoft 1.11;
Projects in which Pantheios.Extras.Main is used include:
T.B.C.
Projects in which Pantheios.Extras.Main is used for testing include:
T.B.C.
Pantheios.Extras.Main is released under the 3-clause BSD license. See LICENSE for details.