cleaning up old files
authorBrendan Hansen <brendan.f.hansen@gmail.com>
Thu, 6 Jan 2022 16:22:03 +0000 (10:22 -0600)
committerBrendan Hansen <brendan.f.hansen@gmail.com>
Thu, 6 Jan 2022 16:22:03 +0000 (10:22 -0600)
.ccls [deleted file]
.vimspector.json [deleted file]
core/container/iter.onyx
project.4coder [deleted file]

diff --git a/.ccls b/.ccls
deleted file mode 100644 (file)
index 3cead6d..0000000
--- a/.ccls
+++ /dev/null
@@ -1,4 +0,0 @@
-clang
-%c -std=c11
-%cpp -std=c++2a
--I./include
diff --git a/.vimspector.json b/.vimspector.json
deleted file mode 100644 (file)
index ca0980d..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-{
-    "configurations": {
-        "cpptools-run": {
-            "adapter": "vscode-cpptools",
-            "configuration": {
-                "type": "cppdbg",
-                "request": "launch",
-                "program": "${workspaceFolder}/bin/onyx-debug",
-                "args": ["-VVV", "tmp/a.onyx"],
-                "stopAtEntry": true,
-                "cwd": "${workspaceFolder}",
-                "environment": [],
-                "externalConsole": false,
-                "MIMode": "gdb",
-                "setupCommands": [
-                    {
-                        "description": "Enable pretty-printing for gdb",
-                        "text": "-enable-pretty-printing",
-                        "ignoreFailures": true
-                    }
-                ]
-            }
-        }
-    }
-}
index 1a8c575bb26b59113dec5f37ef6148cfeceec8c5..6a328d8fda07ab2e1ea3ee3b2d28b99f49f194ba 100644 (file)
@@ -599,7 +599,7 @@ parallel_for :: #match {}
         };
 
         threads := (cast(^thread.Thread) alloc.from_stack(thread_count * sizeof thread.Thread))[0 .. (thread_count - 1)];
-        for^ threads do thread.spawn(it, ^t_data, #solidify thread_function {body=body, T=T, Ctx=Ctx});
+        for^ threads do thread.spawn(it, ^t_data, #solidify thread_function {body=body});
 
         thread_function(^t_data, body);
 
@@ -612,7 +612,7 @@ parallel_for :: #match {}
         data: ^Ctx;
     }
 
-    thread_function :: (__data: ^Thread_Data($T, $Ctx), $body: Code) {
+    thread_function :: (__data: ^Thread_Data, $body: Code) {
         thread_data := __data.data;
         for #no_close *__data.iter {
             #insert body;
diff --git a/project.4coder b/project.4coder
deleted file mode 100644 (file)
index 8980e3a..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-version(1);
-project_name = "Onyx";
-
-patterns = {
-"*.c",
-"*.cpp",
-"*.h",
-"*.onyx",
-"*.js",
-"*.bat",
-"*.sh",
-"*.4coder",
-"*.txt",
-};
-blacklist_patterns = {
-".*",
-};
-load_paths_custom = {
- {"."},
-};
-load_paths = {
- { load_paths_custom, .os = "win"  },
- { load_paths_custom, .os = "linux"},
- { load_paths_custom, .os = "mac"  },
-};
-
-build_debug_win32   = "build.bat";
-build_release_win32 = "build.bat 1";
-build_debug_linux   = "./build.sh debug";
-build_release_linux = "./build.sh";
-
-command_list = {
- { .name = "Build Debug",
-   .out = "*compilation*", .footer_panel = true, .save_dirty_files = true,
-   .cmd = { {build_debug_win32, .os ="win"  },
-            {build_debug_linux, .os ="linux"}, }, },
- { .name = "Build Release",
-   .out = "*compilation*", .footer_panel = true, .save_dirty_files = true,
-   .cmd = { {build_release_win32, .os ="win" },
-            {build_release_linux, .os ="linux" }, }, },
-};
-
-fkey_command[1] = "Build Debug";
-fkey_command[2] = "Build Release";