1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gfx/angle/src/compiler/preprocessor/length_limits.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,21 @@ 1.4 +// 1.5 +// Copyright (c) 2011 The ANGLE Project Authors. All rights reserved. 1.6 +// Use of this source code is governed by a BSD-style license that can be 1.7 +// found in the LICENSE file. 1.8 +// 1.9 + 1.10 +// 1.11 +// length_limits.h 1.12 +// 1.13 + 1.14 +#if !defined(__LENGTH_LIMITS_H) 1.15 +#define __LENGTH_LIMITS_H 1 1.16 + 1.17 +// These constants are factored out from the rest of the headers to 1.18 +// make it easier to reference them from the compiler sources. 1.19 + 1.20 +// These lengths do not include the NULL terminator. 1.21 +#define MAX_SYMBOL_NAME_LEN 256 1.22 +#define MAX_STRING_LEN 511 1.23 + 1.24 +#endif // !(defined(__LENGTH_LIMITS_H)