mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-26 18:21:04 +00:00
Add nodiscard attribute to helper functions where it makes sense
This commit is contained in:
parent
e6acc4e7ed
commit
ae0f955a0e
10 changed files with 71 additions and 29 deletions
|
@ -13,7 +13,7 @@ enum FloatType
|
|||
FLOATTYPE_SYSTEM
|
||||
};
|
||||
|
||||
f32 u32Tof32Slow(u32 i);
|
||||
u32 f32Tou32Slow(f32 f);
|
||||
[[nodiscard]] f32 u32Tof32Slow(u32 i);
|
||||
[[nodiscard]] u32 f32Tou32Slow(f32 f);
|
||||
|
||||
FloatType getFloatSerializationType();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue