HackStudio: Support debugging variables with Enum types

Variables with enum types can now be both viewed and modified in the
variables view!
This commit is contained in:
FalseHonesty 2020-05-31 22:51:12 -04:00 committed by Andreas Kling
commit f958c693ee
Notes: sideshowbarker 2024-07-19 05:52:35 +09:00
3 changed files with 41 additions and 10 deletions

View file

@ -1,9 +1,15 @@
#include <stdio.h>
#include <sys/stat.h>
enum TestEnum {
ValueOne,
ValueTwo
};
struct MyStruct {
int x { -1 };
bool status { false };
TestEnum test_value { ValueOne };
};
int main(int, char**)