Deprecate MyEnum.elements.

This commit is contained in:
Christoffer Lerno
2025-05-16 16:12:37 +02:00
parent 91db6ceeda
commit b7ae5dce8b
8 changed files with 14 additions and 13 deletions

View File

@@ -6,7 +6,7 @@ enum MyEnum : short
BYE
}
int myenum_elements = MyEnum.elements;
int myenum_elements = MyEnum.values.len;
int myenum_alignof = MyEnum.alignof;
int myenum_sizeof = MyEnum.sizeof;