Added a way to print out instead of stdout but to a file (everything about the process but errors (those still go to stderr) and made it so now someone can actually use echo -e "" | ./bin/stergios (prior this was impossible to do due to readline quirks)
Stergios Upload Compile Checker / Explore-Gitea-Actions (push) Successful in 7s

This commit is contained in:
metallaxis committed 2026-07-05 05:31:32 +03:00
1 parent 030b73597f
commit 49467332de
10 files changed
+191 -63

No files matched your search

-8
View File
@@ -31,14 +31,6 @@ void node_pool_init(int32_t max_nodes) {
for (size_t i = 0; i < HASH_SIZE; ++i) hash_table[i] = NULL;
}
Node* node_pool_alloc() {
if (pool_ptr >= pool_capacity) {
fprintf(stderr, "\nNode Pool Overflow! Need more than %i nodes.\n", pool_capacity);
return NULL;
}
return &pool[pool_ptr++];
}
void node_pool_reset() {
pool_ptr = 0;
}