PIIntrospection

This commit is contained in:
2022-04-14 17:48:15 +03:00
parent fa93c8a486
commit 42e253adc7
3 changed files with 12 additions and 14 deletions

View File

@@ -45,17 +45,21 @@ public:
#pragma pack(push, 1)
struct PIP_EXPORT _Type {
_Type();
uint id;
uint count;
uint item_size;
ullong allocated;
ullong used;
uint id = 0u;
uint count = 0u;
uint item_size = 0u;
ullong allocated = 0u;
ullong used = 0u;
};
#pragma pack(pop)
struct PIP_EXPORT TypeInfo: _Type {
ullong allocated_bytes = 0u;
ullong used_bytes = 0u;
PIString name;
PIString item_size_str;
PIString allocated_str;
PIString used_str;
};
std::map<uint, _Type> data;