diff options
author | John Kessenich <cepheus@frii.com> | 2013-08-29 00:39:25 +0000 |
---|---|---|
committer | John Kessenich <cepheus@frii.com> | 2013-08-29 00:39:25 +0000 |
commit | b603f918a4370ffa9e9e0994575d0d922e55a517 (patch) | |
tree | 1a85e5e983a308056f61fc42dc4168f4663d1d34 /glslang/MachineIndependent/SymbolTable.cpp | |
parent | 23bdb29eac331ec20b8e65ad993e718c73ede65a (diff) | |
download | glslang-b603f918a4370ffa9e9e0994575d0d922e55a517.tar.gz |
Put all glslang internals (but not the external interface) into the glslang namespace.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@22882 e7fa87d3-cd2b-0410-9028-fcbf551c1848
Diffstat (limited to 'glslang/MachineIndependent/SymbolTable.cpp')
-rw-r--r-- | glslang/MachineIndependent/SymbolTable.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/glslang/MachineIndependent/SymbolTable.cpp b/glslang/MachineIndependent/SymbolTable.cpp index 8fde88d3..b6e4ced6 100644 --- a/glslang/MachineIndependent/SymbolTable.cpp +++ b/glslang/MachineIndependent/SymbolTable.cpp @@ -41,6 +41,8 @@ #include "SymbolTable.h" +namespace glslang { + // // TType helper function needs a place to live. // @@ -222,7 +224,7 @@ TVariable::TVariable(const TVariable& copyOf, TStructureMap& remapper) : TSymbol if (copyOf.unionArray) { assert(!copyOf.type.getStruct()); assert(copyOf.type.getObjectSize() == 1); - unionArray = new constUnion[1]; + unionArray = new TConstUnion[1]; unionArray[0] = copyOf.unionArray[0]; } else unionArray = 0; @@ -283,3 +285,5 @@ void TSymbolTable::copyTable(const TSymbolTable& copyOf) for (unsigned int i = 0; i < copyOf.table.size(); ++i) table.push_back(copyOf.table[i]->clone(remapper)); } + +} // end namespace glslang |