From b0d5c39d8acbd1429990e383ddd67226fc7bc0f9 Mon Sep 17 00:00:00 2001 From: Fabrice Date: Mon, 2 Mar 2026 11:59:47 +0100 Subject: working on source control --- src/voidc.cc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/voidc.cc') diff --git a/src/voidc.cc b/src/voidc.cc index e69b8a6..8110184 100644 --- a/src/voidc.cc +++ b/src/voidc.cc @@ -1,7 +1,8 @@ -#include "memory.cc" -#include "common.cc" #include +#include "common.cc" +#include "memory.cc" + static const char* SOURCE = R"( #include @@ -10,13 +11,13 @@ int main() { } )"; -static const String SOURCE_STRING = { (u8*)SOURCE, strlen(SOURCE) }; +static const String SOURCE_STRING = {(u8*)SOURCE, strlen(SOURCE)}; int main() { String source; slice_copy(heap_allocator(), &SOURCE_STRING, &source); slice_write(&source, stdout); - + slice_deallocate(heap_allocator(), &source); } -- cgit v1.2.3