[teagba] Suppress warnings for unsafe buffers

This commit is contained in:
Gary Talent 2024-11-27 00:15:59 -06:00
parent 6af00d9a2e
commit 27f4703a9a

View File

@ -6,6 +6,8 @@
#include "addresses.hpp"
OX_ALLOW_UNSAFE_BUFFERS_BEGIN
namespace teagba {
inline auto bgSetSbb(volatile BgCtl &bgCtl, unsigned sbb) noexcept {
@ -53,3 +55,5 @@ constexpr void iterateBgCtl(auto cb) noexcept {
}
}
OX_ALLOW_UNSAFE_BUFFERS_END