summaryrefslogtreecommitdiffstats
path: root/gfx/angle/src/compiler/translator/InitializeParseContext.h
blob: 9c315be3f0ca4c0e908eb7bcf7cf17c50c67f3c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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_