Files
CWasm/cwasm.c

18 lines
363 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"
WASM_EXPORT(HelloFromWasm) int HelloFromWasm(int value)
{
printf("Called HelloFromWasm(%d)!\n", value);
return value*(value+1)*2;
}