zenilib  0.5.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
InitializeParseContext.cpp File Reference

Go to the source code of this file.

Functions

void FreeParseContextIndex ()
 
TParseContextGetGlobalParseContext ()
 
bool InitializeParseContextIndex ()
 
void SetGlobalParseContext (TParseContext *context)
 

Variables

OS_TLSIndex GlobalParseContextIndex = OS_INVALID_TLS_INDEX
 

Function Documentation

void FreeParseContextIndex ( )

Definition at line 21 of file InitializeParseContext.cpp.

References assert, GlobalParseContextIndex, and OS_FreeTLSIndex().

Referenced by DetachProcess().

TParseContext* GetGlobalParseContext ( )

Definition at line 35 of file InitializeParseContext.cpp.

References assert, GlobalParseContextIndex, and OS_GetTLSValue().

Referenced by TranslatorHLSL::translate().

bool InitializeParseContextIndex ( )

Definition at line 13 of file InitializeParseContext.cpp.

References assert, GlobalParseContextIndex, and OS_AllocTLSIndex().

Referenced by InitProcess().

void SetGlobalParseContext ( TParseContext context)

Definition at line 29 of file InitializeParseContext.cpp.

References assert, GlobalParseContextIndex, and OS_SetTLSValue().

Referenced by TCompiler::compile().

Variable Documentation

OS_TLSIndex GlobalParseContextIndex = OS_INVALID_TLS_INDEX