summaryrefslogtreecommitdiffstats
path: root/toolkit/components/translation/cld2/internal/integral_types.h
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/components/translation/cld2/internal/integral_types.h')
-rw-r--r--toolkit/components/translation/cld2/internal/integral_types.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/toolkit/components/translation/cld2/internal/integral_types.h b/toolkit/components/translation/cld2/internal/integral_types.h
new file mode 100644
index 0000000000..1e63adb673
--- /dev/null
+++ b/toolkit/components/translation/cld2/internal/integral_types.h
@@ -0,0 +1,31 @@
+// Copyright 2013 Google Inc. All Rights Reserved.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+// Cheap version
+namespace CLD2 {
+
+typedef unsigned char uint8;
+typedef unsigned short uint16;
+typedef unsigned int uint32;
+typedef unsigned long long int uint64;
+
+typedef signed char int8;
+typedef signed short int16;
+typedef signed int int32;
+typedef signed long long int int64;
+
+typedef int32 char32;
+
+} // End namespace CLD2
+