Portability: Updated to make main re-entrant()
- New INSTALL instructions to emscripten, and AUTHORS for contribution.
This commit is contained in:
committed by
Paul Beckingham
parent
cae3f06b7d
commit
7af6db4c17
@@ -414,6 +414,20 @@ static const char* modifierNames[] =
|
||||
|
||||
#define NUM_MODIFIER_NAMES (sizeof (modifierNames) / sizeof (modifierNames[0]))
|
||||
|
||||
Context* Context::context;
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
Context& Context::getContext ()
|
||||
{
|
||||
return *Context::context;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
void Context::setContext (Context* context)
|
||||
{
|
||||
Context::context = context;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
Context::~Context ()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user