Merge pull request #74641 from dalexeev/fix-bitfield-enum-warnings

Display `BitField[Enum]` in docs to distinguish from `Enum`
This commit is contained in:
Rémi Verschelde 2023-06-16 10:18:46 +02:00
commit d101244d1b
No known key found for this signature in database
GPG key ID: C3336907360768E1
52 changed files with 191 additions and 129 deletions

View file

@ -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() {
}

View file

@ -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