diff --git a/src/Munix.cpp b/src/Munix.cpp index 51d3e24..405a5f6 100644 --- a/src/Munix.cpp +++ b/src/Munix.cpp @@ -1,10 +1,14 @@ -#include "PyMunix.c" -#include "window/window.h" +#include "PyMunix.h" +#include "RAM.h" -class Munix() { +class Munix { public: void runTerminal() { terminal(); } -} \ No newline at end of file + + void freeRAM(int* bytes) { + Free(bytes); + } +}; \ No newline at end of file diff --git a/src/RAM.h b/src/RAM.h new file mode 100644 index 0000000..44a008e --- /dev/null +++ b/src/RAM.h @@ -0,0 +1,6 @@ +#include + + +void Free(int* ptr) { + free(ptr); +} \ No newline at end of file