Defines macros for the main entry point.
More...
#include "Finally.hpp"
#include "other.hpp"
#include "window.hpp"
Go to the source code of this file.
|
#define | JNGL_MAIN_BEGIN |
|
#define | JNGL_MAIN_END } |
|
Defines macros for the main entry point.
Definition in file main.hpp.
◆ JNGL_MAIN_BEGIN
Value: int main(int argc, char** argv) { \
{ \
std::vector<std::string> tmp(argc - 1); \
for (int i = 1; i < argc; ++i) { \
tmp[i - 1] = argv[i]; \
} \
jngl::setArgs(tmp); \
} \
void hideWindow()
Cleans up the window and unloads everything.
Definition at line 39 of file main.hpp.