thats why it needed testing

This commit is contained in:
Yoshman29
2023-03-24 11:33:15 +01:00
parent 948c62fb46
commit e592144f93
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -1,6 +1,7 @@
package funkin.native;
#if linux
@:cppFileCode("#include <stdio.h>")
class Linux {
@:functionCode('
FILE *meminfo = fopen("/proc/meminfo", "r");
+1
View File
@@ -1,6 +1,7 @@
package funkin.native;
#if mac
@:cppFileCode("#include <sys/sysctl.h>")
class Mac {
@:functionCode('
int mib [] = { CTL_HW, HW_MEMSIZE };