some cleanup and stuff

This commit is contained in:
Mars 2024-06-14 01:41:59 -04:00
parent 138191227f
commit afbba70f92
Signed by: pupbrained
GPG key ID: 874E22DF2F9DFCB5
13 changed files with 203 additions and 160 deletions

3
include/util/macros.h Normal file
View file

@ -0,0 +1,3 @@
#define fn auto
#define DEFINE_GETTER(class_name, type, name) \
fn class_name::get##name() const->type { return m_##name; }

View file

@ -3,8 +3,6 @@
#include <cstddef>
#include <cstdint>
#define fn auto
// Unsigned integers
using u8 = std::uint8_t;
using u16 = std::uint16_t;