mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 00:02:45 +03:00
chore(component): name bitpacked member variable
This commit is contained in:
parent
872405e6f1
commit
d958cadb24
@ -18,7 +18,7 @@ CACHEENTRY::CACHEENTRY() {
|
||||
this->m_fileName[0] = '\0';
|
||||
this->m_refCount = 0;
|
||||
this->m_memHandle = 0;
|
||||
this->bitsB0 = 0;
|
||||
this->m_size = 0;
|
||||
this->m_loaded = 0;
|
||||
}
|
||||
|
||||
|
||||
@ -24,7 +24,7 @@ class CACHEENTRY : public TSHashObject<CACHEENTRY, HASHKEY_NONE> {
|
||||
char m_fileName[128];
|
||||
uint32_t m_refCount;
|
||||
uint32_t m_memHandle;
|
||||
uint32_t bitsB0 : 20;
|
||||
uint32_t m_size : 20;
|
||||
uint32_t m_loaded : 1;
|
||||
|
||||
// Member functions
|
||||
|
||||
Loading…
Reference in New Issue
Block a user