From 24272d599e1886a8fb47e3e47d33a0aa7dd74e22 Mon Sep 17 00:00:00 2001 From: dan Date: Tue, 30 May 2023 18:23:54 -0400 Subject: feat: web version also uses c code, compiled to wasm --- optable.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'optable.h') diff --git a/optable.h b/optable.h index 9675678..811da9f 100644 --- a/optable.h +++ b/optable.h @@ -15,10 +15,8 @@ typedef struct wordop wordop; typedef void (*stackop)(stack *); typedef void (*directiveop)(stack *, int len, char* line, int* i, optable* optable); -#ifdef __EMSCRIPTEN__ -extern char outputbuffer[1024]; -extern int* outputline; -#endif +extern char* outputbuffer; +extern int outputline; typedef struct { bool isliteral; -- cgit v1.2.3