add two overflow functions to utlbuffer for linux

This commit is contained in:
Nukoooo 2025-10-31 12:28:44 +08:00 committed by GitHub
parent f1573c3515
commit 72e5625841
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -471,8 +471,17 @@ protected:
int m_nOffset;
UtlBufferOverflowFunc_t m_GetOverflowFunc;
#ifdef PLATFORM_POSIX
void* m_OverFlowFunc2;
#endif
UtlBufferOverflowFunc_t m_PutOverflowFunc;
#ifdef PLATFORM_POSIX
void* m_OverFlowFunc4;
#endif
CByteswap m_Byteswap;
};
@ -1400,3 +1409,4 @@ inline void CUtlBuffer::Spew( )
#endif // UTLBUFFER_H