1 //===-- MIDataTypes.h -------------------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // Overview: Common global switches, macros, etc.
12 // This file contains common data types required by applications
13 // generally. If supported by the compiler, this file should be
14 // #include'd as part of the project's PCH (precompiled header).
18 //--------------------------------------------------------------------------------------
29 //--------------------------------------------------------------------------------------
30 // Common definitions:
32 // Function return status
34 const bool success = true;
35 const bool failure = false;
38 // Use to avoid "unused parameter" compiler warnings:
39 #define MIunused(x) (void)x;
43 typedef unsigned __int64 size_t;
44 typedef __int64 MIint;
45 typedef unsigned __int64 MIuint;
48 typedef unsigned int size_t;
50 typedef unsigned int MIuint;
53 typedef unsigned int MIuint;
59 //--------------------------------------------------------------------------------------
63 typedef long long MIint64; // 64bit signed integer.
64 typedef unsigned long long MIuint64; // 64bit unsigned integer.