[teagba] Suppress warnings for unsafe buffers
This commit is contained in:
parent
6af00d9a2e
commit
27f4703a9a
4
deps/teagba/include/teagba/registers.hpp
vendored
4
deps/teagba/include/teagba/registers.hpp
vendored
@ -6,6 +6,8 @@
|
|||||||
|
|
||||||
#include "addresses.hpp"
|
#include "addresses.hpp"
|
||||||
|
|
||||||
|
OX_ALLOW_UNSAFE_BUFFERS_BEGIN
|
||||||
|
|
||||||
namespace teagba {
|
namespace teagba {
|
||||||
|
|
||||||
inline auto bgSetSbb(volatile BgCtl &bgCtl, unsigned sbb) noexcept {
|
inline auto bgSetSbb(volatile BgCtl &bgCtl, unsigned sbb) noexcept {
|
||||||
@ -53,3 +55,5 @@ constexpr void iterateBgCtl(auto cb) noexcept {
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
OX_ALLOW_UNSAFE_BUFFERS_END
|
||||||
|
Loading…
x
Reference in New Issue
Block a user