mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-25 09:57:32 +09:00
Issue #1925 - Convert NS_SIDE_IS_VERTICAL to a constexpr function.
This commit is contained in:
parent
8a2bc8ef4d
commit
b0b13b8719
5 changed files with 11 additions and 9 deletions
|
|
@ -20,7 +20,6 @@ namespace mozilla {
|
|||
// nsStyleCoord.cpp.
|
||||
// Arguments must not have side effects.
|
||||
|
||||
#define NS_SIDE_IS_VERTICAL(side_) ((side_) % 2)
|
||||
#define NS_SIDE_TO_FULL_CORNER(side_, second_) \
|
||||
(((side_) + !!(second_)) % 4)
|
||||
#define NS_SIDE_TO_HALF_CORNER(side_, second_, parallel_) \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue