mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-19 12:06:07 +08:00
Modified SDK for GCC 4.2
This commit is contained in:
@ -11,7 +11,7 @@
|
||||
#include "tier0/memdbgon.h"
|
||||
|
||||
|
||||
extern char *s_ClientElementNames[MAX_ARRAY_ELEMENTS];
|
||||
extern const char *s_ClientElementNames[MAX_ARRAY_ELEMENTS];
|
||||
|
||||
|
||||
class CRecvPropExtra_UtlVector
|
||||
@ -78,9 +78,9 @@ void DataTableRecvProxy_LengthProxy( const RecvProp *pProp, void **pOut, void *p
|
||||
|
||||
|
||||
RecvProp RecvPropUtlVector(
|
||||
char *pVarName, // Use RECVINFO_UTLVECTOR to generate these 4.
|
||||
int offset, // Used to generate pData in the function specified in varProxy.
|
||||
int sizeofVar, // The size of each element in the utlvector.
|
||||
const char *pVarName, // Use RECVINFO_UTLVECTOR to generate these 4.
|
||||
int offset, // Used to generate pData in the function specified in varProxy.
|
||||
int sizeofVar, // The size of each element in the utlvector.
|
||||
ResizeUtlVectorFn fn,
|
||||
EnsureCapacityFn ensureFn,
|
||||
int nMaxElements, // Max # of elements in the array. Keep this as low as possible.
|
||||
|
Reference in New Issue
Block a user