mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2024-12-23 01:59:43 +08:00
Update KeyValues.h (#252)
This commit is contained in:
parent
d9831d4429
commit
d0a33e824c
@ -1,4 +1,4 @@
|
||||
//========= Copyright <EFBFBD> 1996-2005, Valve Corporation, All rights reserved. ============//
|
||||
//========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============//
|
||||
//
|
||||
// Purpose:
|
||||
//
|
||||
@ -24,6 +24,7 @@
|
||||
|
||||
#include "utlvector.h"
|
||||
#include "Color.h"
|
||||
#include "exprevaluator.h"
|
||||
|
||||
class IBaseFileSystem;
|
||||
class CUtlBuffer;
|
||||
@ -356,7 +357,7 @@ private:
|
||||
KeyValues *m_pSub; // pointer to Start of a new sub key list
|
||||
KeyValues *m_pChain;// Search here if it's not in our list
|
||||
|
||||
void* m_pExpressionGetSymbolProc;
|
||||
GetSymbolProc_t m_pExpressionGetSymbolProc;
|
||||
};
|
||||
|
||||
typedef KeyValues::AutoDelete KeyValuesAD;
|
||||
@ -437,6 +438,10 @@ inline bool KeyValues::IsEmpty( int keySymbol )
|
||||
return dat ? dat->IsEmpty( ) : true;
|
||||
}
|
||||
|
||||
inline void KeyValues::SetExpressionHandler( GetSymbolProc_t pExpSymbolProc )
|
||||
{
|
||||
m_pExpressionGetSymbolProc = pExpSymbolProc;
|
||||
}
|
||||
|
||||
//
|
||||
// KeyValuesDumpContext and generic implementations
|
||||
|
Loading…
Reference in New Issue
Block a user