blob: 354bfe13aab6f57f0f6cd90b13ab3a06279400f5 [file] [log] [blame]
John Bauman66b8ab22014-05-06 15:57:45 -04001//
2// Copyright (c) 2002-2012 The ANGLE Project Authors. All rights reserved.
3// Use of this source code is governed by a BSD-style license that can be
4// found in the LICENSE file.
5//
6
7#ifndef __INITIALIZE_PARSE_CONTEXT_INCLUDED_
8#define __INITIALIZE_PARSE_CONTEXT_INCLUDED_
9
10bool InitializeParseContextIndex();
11bool FreeParseContextIndex();
12
13bool InitializeGlobalParseContext();
14bool FreeParseContext();
15
16struct TParseContext;
17typedef TParseContext* TParseContextPointer;
18extern TParseContextPointer& GetGlobalParseContext();
19#define GlobalParseContext GetGlobalParseContext()
20
21typedef struct TThreadParseContextRec
22{
23 TParseContext *lpGlobalParseContext;
24} TThreadParseContext;
25
26#endif // __INITIALIZE_PARSE_CONTEXT_INCLUDED_