[project] Lose the battle between tabs & spaces

I'm a tabs guy. I like tabs, it's an elegant way to represent
indentation instead of brute-forcing it. But I have to admit that the
world seems to be going towards spaces, and tooling tends not to play
nice with tabs. So here we go, changing the whole repo to spaces since
I'm getting tired of all the inconsistent formatting.
This commit is contained in:
F in Chat for Tabs
2021-08-01 17:46:16 -07:00
committed by Justin C. Miller
parent d36b2d8057
commit 8f529046a9
161 changed files with 7958 additions and 7958 deletions

View File

@@ -8,7 +8,7 @@
namespace uefi {
namespace protos {
struct simple_text_output;
struct simple_text_output;
}}
namespace boot {
@@ -17,28 +17,28 @@ namespace boot {
class console
{
public:
console(uefi::protos::simple_text_output *out);
console(uefi::protos::simple_text_output *out);
void announce();
void announce();
size_t print_hex(uint32_t n) const;
size_t print_dec(uint32_t n) const;
size_t print_long_hex(uint64_t n) const;
size_t print_long_dec(uint64_t n) const;
size_t printf(const wchar_t *fmt, ...) const;
size_t print_hex(uint32_t n) const;
size_t print_dec(uint32_t n) const;
size_t print_long_hex(uint64_t n) const;
size_t print_long_dec(uint64_t n) const;
size_t printf(const wchar_t *fmt, ...) const;
static console & get() { return *s_console; }
static size_t print(const wchar_t *fmt, ...);
static console & get() { return *s_console; }
static size_t print(const wchar_t *fmt, ...);
private:
friend class status_line;
friend class status_line;
size_t vprintf(const wchar_t *fmt, va_list args) const;
size_t vprintf(const wchar_t *fmt, va_list args) const;
size_t m_rows, m_cols;
uefi::protos::simple_text_output *m_out;
size_t m_rows, m_cols;
uefi::protos::simple_text_output *m_out;
static console *s_console;
static console *s_console;
};
size_t wstrlen(const wchar_t *s);