Memory safety and Window Events
Adding memory checks and Window Event Listener + Memory Checks (debug) + Listening to window events + Runtime Directory Structure (Vision)
This commit is contained in:
parent
550fc291de
commit
3679beaa4e
13 changed files with 491 additions and 100 deletions
|
@ -1,6 +1,10 @@
|
|||
#include <cigui/core/App.hpp>
|
||||
#include <cigui/cigui.hpp>
|
||||
|
||||
int main() {
|
||||
cig::App::GetInstance().Run();
|
||||
int main(int argc, char** argv) {
|
||||
MEM_CHECKED_MAIN(return_code) {
|
||||
auto app = cig::App();
|
||||
return_code = app.Run();
|
||||
}
|
||||
return return_code;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#include <iosteam>
|
||||
#include <iostream>
|
||||
|
||||
int main() {
|
||||
std::cout << "Hello World" << std::endl;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue