mirror of
https://github.com/gbdev/rgbds.git
synced 2026-11-21 21:48:39 +00:00
Non-constant expressions do not fail a static_assert (#2215)
This commit is contained in:
1 parent
ddd4ba9952
commit
586bd2eec8
8 files changed
+11
-20
No files matched your search
@@ -29,7 +29,7 @@ void act_Endc();
|
||||
AlignmentSpec act_Alignment(int32_t alignment, int32_t alignOfs);
|
||||
|
||||
void act_Assert(AssertionType type, Expression const &expr, std::string const &message);
|
||||
void act_StaticAssert(AssertionType type, int32_t condition, std::string const &message);
|
||||
void act_StaticAssert(AssertionType type, Expression const &expr, std::string const &message);
|
||||
|
||||
std::optional<std::string> act_ReadFile(std::string const &name, uint32_t maxLen);
|
||||
|
||||
|
||||
Reference in new issue
Block a user