Merge pull request #74641 from dalexeev/fix-bitfield-enum-warnings
Display `BitField[Enum]` in docs to distinguish from `Enum`
This commit is contained in:
commit
d101244d1b
52 changed files with 191 additions and 129 deletions
|
|
@ -34,11 +34,6 @@
|
|||
#include "core/math/geometry_2d.h"
|
||||
#include "line_builder.h"
|
||||
|
||||
// Needed so we can bind functions
|
||||
VARIANT_ENUM_CAST(Line2D::LineJointMode)
|
||||
VARIANT_ENUM_CAST(Line2D::LineCapMode)
|
||||
VARIANT_ENUM_CAST(Line2D::LineTextureMode)
|
||||
|
||||
Line2D::Line2D() {
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -138,4 +138,9 @@ private:
|
|||
bool _antialiased = false;
|
||||
};
|
||||
|
||||
// Needed so we can bind functions
|
||||
VARIANT_ENUM_CAST(Line2D::LineJointMode)
|
||||
VARIANT_ENUM_CAST(Line2D::LineCapMode)
|
||||
VARIANT_ENUM_CAST(Line2D::LineTextureMode)
|
||||
|
||||
#endif // LINE_2D_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue