1 //===-- MIDataTypes.h -------------------------------------------*- C++ -*-===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // Overview: Common global switches, macros, etc.
11 // This file contains common data types required by applications
12 // generally. If supported by the compiler, this file should be
13 // #include'd as part of the project's PCH (precompiled header).
27 // Common definitions:
29 // Function return status
31 const bool success = true;
32 const bool failure = false;
35 // Use to avoid "unused parameter" compiler warnings:
36 #define MIunused(x) (void)x;
40 typedef unsigned __int64 size_t;
41 typedef __int64 MIint;
42 typedef unsigned __int64 MIuint;
45 typedef unsigned int size_t;
47 typedef unsigned int MIuint;
50 typedef unsigned int MIuint;
59 typedef long long MIint64; // 64bit signed integer.
60 typedef unsigned long long MIuint64; // 64bit unsigned integer.