From 2e01538f3ec355fb60b0bf9a3ee686378775a8e7 Mon Sep 17 00:00:00 2001 From: Brendan Hansen Date: Sun, 28 Nov 2021 10:09:39 -0600 Subject: [PATCH] renamed some files --- src/{polymorph.c => polymorph.h} | 0 src/utils.c | 2 +- src/wasm_emit.c | 6 +++--- src/{wasm_intrinsics.c => wasm_intrinsics.h} | 0 src/{wasm_output.c => wasm_output.h} | 0 src/{wasm_type_table.c => wasm_type_table.h} | 0 6 files changed, 4 insertions(+), 4 deletions(-) rename src/{polymorph.c => polymorph.h} (100%) rename src/{wasm_intrinsics.c => wasm_intrinsics.h} (100%) rename src/{wasm_output.c => wasm_output.h} (100%) rename src/{wasm_type_table.c => wasm_type_table.h} (100%) diff --git a/src/polymorph.c b/src/polymorph.h similarity index 100% rename from src/polymorph.c rename to src/polymorph.h diff --git a/src/utils.c b/src/utils.c index 336841e3..b2a0f52f 100644 --- a/src/utils.c +++ b/src/utils.c @@ -252,7 +252,7 @@ void scope_clear(Scope* scope) { } // Polymorphic procedures are in their own file to clean up this file. -#include "polymorph.c" +#include "polymorph.h" // // Overloaded Procedures diff --git a/src/wasm_emit.c b/src/wasm_emit.c index 2e8af1b9..6ed6a570 100644 --- a/src/wasm_emit.c +++ b/src/wasm_emit.c @@ -275,8 +275,8 @@ EMIT_FUNC_NO_ARGS(leave_structured_block); static void emit_raw_data(OnyxWasmModule* mod, ptr data, AstTyped* node); static b32 emit_raw_data_(OnyxWasmModule* mod, ptr data, AstTyped* node); -#include "wasm_intrinsics.c" -#include "wasm_type_table.c" +#include "wasm_intrinsics.h" +#include "wasm_type_table.h" EMIT_FUNC(function_body, AstFunction* fd) { if (fd->body == NULL) return; @@ -3855,4 +3855,4 @@ void onyx_wasm_module_free(OnyxWasmModule* module) { } -#include "wasm_output.c" +#include "wasm_output.h" diff --git a/src/wasm_intrinsics.c b/src/wasm_intrinsics.h similarity index 100% rename from src/wasm_intrinsics.c rename to src/wasm_intrinsics.h diff --git a/src/wasm_output.c b/src/wasm_output.h similarity index 100% rename from src/wasm_output.c rename to src/wasm_output.h diff --git a/src/wasm_type_table.c b/src/wasm_type_table.h similarity index 100% rename from src/wasm_type_table.c rename to src/wasm_type_table.h -- 2.25.1