diff options
Diffstat (limited to 'gfx/angle/src/compiler/translator/InitializeParseContext.h')
-rwxr-xr-x | gfx/angle/src/compiler/translator/InitializeParseContext.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/gfx/angle/src/compiler/translator/InitializeParseContext.h b/gfx/angle/src/compiler/translator/InitializeParseContext.h new file mode 100755 index 000000000..9c315be3f --- /dev/null +++ b/gfx/angle/src/compiler/translator/InitializeParseContext.h @@ -0,0 +1,21 @@ +// +// Copyright (c) 2002-2010 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// + +#ifndef COMPILER_TRANSLATOR_INITIALIZEPARSECONTEXT_H_ +#define COMPILER_TRANSLATOR_INITIALIZEPARSECONTEXT_H_ + +namespace sh +{ + +bool InitializeParseContextIndex(); +void FreeParseContextIndex(); + +class TParseContext; +extern void SetGlobalParseContext(TParseContext* context); +extern TParseContext* GetGlobalParseContext(); +} // namespace sh + +#endif // COMPILER_TRANSLATOR_INITIALIZEPARSECONTEXT_H_ |