might as well do this

This commit is contained in:
Mars 2025-04-30 03:00:48 -04:00
parent f6a7bee047
commit 3ad961a571
Signed by: pupbrained
GPG key ID: 0FF5B8826803F895
6 changed files with 424 additions and 227 deletions

View file

@ -1,9 +1,13 @@
#pragma once
#include <xcb/xcb.h>
#ifdef __linux__
// clang-format off
#include <xcb/xcb.h> // XCB library
#include "src/core/util/defs.hpp"
#include "src/core/util/types.hpp"
// clang-format on
namespace xcb {
using util::types::u8, util::types::i32, util::types::CStr, util::types::None;
@ -166,3 +170,5 @@ namespace xcb {
[[nodiscard]] fn operator*() const->T& { return *m_Reply; }
};
} // namespace xcb
#endif // __linux__