More fixes while completing sanity check for enums

Typepunning failed, didn't know about the difference between C/C++ with strict aliasing in this specific case...
This commit is contained in:
ed committed 2023-06-28 21:20:29 -04:00
1 parent 0192cd49ef
commit 44ab1c2fc3
7 files changed
+163 -134

No files matched your search

+9 -2
View File
@@ -4,9 +4,16 @@ class Test_EmptyClass;
class Test_EmptyClass
{
// Empty class
};
UFUNCTION( BlueprintCallable, Category = "Test" )
void Test_UFunction(void);
typedef unsigned char u8;
enum Test_Enum : u8;
enum Test_Enum : u8
{
A,
B,
C,
};