Files
CWasm/cwasm.c

30 lines
695 B
C

/*
File: main.c
Author: Taylor Robbins
Date: 08\28\2025
Description:
** This file serves as the compilable file for all of CWasm. It may be #included by the app.c file
*/
#include "cwasm.h"
#include "std/src/std_main.c"
#include "cwasm_webgl_js_imports.h"
#include "cwasm_webgl_constants.h"
#include "cwasm_arena.c"
#include "cwasm_debug.c"
void InitializeCWasm(u32 scratchArenasSize)
{
// CwasmDebugOutput(__FILE__, __LINE__, __func__, DbgLevel_Warning, true, "Hello\nWorld!");
Write_D("Hello\nWorld!");
PrintLine_I(" Fuzzy %u Bunnies!\n%s", 31415926, "What");
WriteLine_D("");
WriteLine_W("When");
Write_D("\n");
WriteLine_E("Where");
InitGlobalArenas(scratchArenasSize);
}