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

+2 -6
View File
@@ -3,6 +3,8 @@
#include "utils.h"
#include <stdio.h>
typedef struct Node {
int128_t a, b, c;
char move;
@@ -16,12 +18,6 @@ typedef struct Node {
*/
void node_pool_init(int32_t max_nodes);
/**
* @brief Allocates a node from the pool
* @return A pointer to the allocated node, or NULL if the pool is exhausted
*/
Node* node_pool_alloc();
/**
* @brief Resets the node pool without freeing memory
*/