switched to mono continued fork

This commit is contained in:
2025-04-22 00:15:28 +05:00
parent 51259e72fe
commit 366dd1214c
8 changed files with 105 additions and 109 deletions

View File

@@ -5,7 +5,7 @@
#include "../format.hpp"
#include <vector>
#include <type_traits>
#include <mono/metadata/metadata.h>
#include <mono/metadata/class.h>
#include <mono/metadata/assembly.h>
#include <mono/metadata/object.h>

View File

@@ -1,6 +1,7 @@
#include "Mono.hpp"
#include <mono/jit/jit.h>
#include <mono/metadata/mono-config.h>
#include <mono/metadata/appdomain.h>
namespace Mono {

View File

@@ -59,9 +59,8 @@ int main(int argc, const char** argv){
Mono::Bool created = tryCreateComponent(exampleObjectHandle.getObject(), componentNameManaged);
if(!created.wide_bool)
throw UsefulException("couldn't create ExampleComponent");
std::cout<<"created ExampleObject"<<std::endl;
std::cout<<"OK!"<<std::endl;
return 0;
GUI::MainWindow w;
w.open("ougge", update);
std::cout<<"created sdl window"<<std::endl;