diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-30 20:31:18 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-30 20:31:18 +0100 |
commit | d8daa3e045ca2f41edcbed533bc5a9fef1363a17 (patch) | |
tree | 6a4c0883d05607476b609e68bcac7d854e281aea /backend/util.h | |
parent | 6e1d62955c7a7f39bc9126d709a42a70e02a1d30 (diff) |
print to backend
Diffstat (limited to 'backend/util.h')
-rw-r--r-- | backend/util.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/backend/util.h b/backend/util.h index bbe307b..e544e19 100644 --- a/backend/util.h +++ b/backend/util.h @@ -1,5 +1,7 @@ #pragma once +#include <stdio.h> + #include "List.h" void safe_free(void * & ptr); @@ -7,6 +9,7 @@ void safe_free(char * & ptr); void safe_free(const char * & ptr); template <typename T> void safe_free(List<T *> & ptr_list); +void safe_free(FILE * & ptr); #include "util.hpp" |