From 5e94ca9f060d2952ef08913234c500a815f734bf Mon Sep 17 00:00:00 2001 From: _ov4 Date: Tue, 1 Sep 2026 00:39:44 +0000 Subject: refactor --- include/util.h | 38 -------------------------------------- 1 file changed, 38 deletions(-) delete mode 100644 include/util.h (limited to 'include/util.h') diff --git a/include/util.h b/include/util.h deleted file mode 100644 index bab7738..0000000 --- a/include/util.h +++ /dev/null @@ -1,38 +0,0 @@ -#pragma once - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include "global.h" - -#define LOG !(ov4::GLOBAL_DEBUG && verbose) ? (void)0 : ov4::LogVoidify() & std::clog - -namespace ov4 { - -void atomic_print(char *s, bool ignore_wrap = false); -void atomic_print(int x); -void atomic_debug(char *s, bool ignore_wrap = false); -void atomic_debug(int x); -bool isnum(char *s); -void reverse(char str[], int length); -char *itoa(int num, char* str, int base); -int builtin_cmd(char *c_str); -void builtin_command_quit(); - -constexpr bool GLOBAL_DEBUG = true; -struct LogVoidify { void operator&(std::ostream&) const {} }; - -constexpr int DECIMAL = 10; -constexpr int LENGTH = 32; - -} -- cgit v1.3.1-4-g156e