From 72e5625841dbd9935f493e8e1915dfd9fca83d0b Mon Sep 17 00:00:00 2001 From: Nukoooo <89713806+Nukoooo@users.noreply.github.com> Date: Fri, 31 Oct 2025 12:28:44 +0800 Subject: [PATCH] add two overflow functions to utlbuffer for linux --- public/tier1/utlbuffer.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/public/tier1/utlbuffer.h b/public/tier1/utlbuffer.h index 5e8dd616..795db8f3 100644 --- a/public/tier1/utlbuffer.h +++ b/public/tier1/utlbuffer.h @@ -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 +