Deleted Added
full compact
CBindingWrapping.h (251662) CBindingWrapping.h (280031)
1//===- llvm/Support/CBindingWrapph.h - C Interface Wrapping -----*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9//
10// This file declares the wrapping macros for the C interface.
11//
12//===----------------------------------------------------------------------===//
13
1//===- llvm/Support/CBindingWrapph.h - C Interface Wrapping -----*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9//
10// This file declares the wrapping macros for the C interface.
11//
12//===----------------------------------------------------------------------===//
13
14#ifndef LLVM_C_BINDING_WRAPPING_H
15#define LLVM_C_BINDING_WRAPPING_H
14#ifndef LLVM_SUPPORT_CBINDINGWRAPPING_H
15#define LLVM_SUPPORT_CBINDINGWRAPPING_H
16
17#include "llvm/Support/Casting.h"
18
19#define DEFINE_SIMPLE_CONVERSION_FUNCTIONS(ty, ref) \
20 inline ty *unwrap(ref P) { \
21 return reinterpret_cast<ty*>(P); \
22 } \
23 \

--- 23 unchanged lines hidden ---
16
17#include "llvm/Support/Casting.h"
18
19#define DEFINE_SIMPLE_CONVERSION_FUNCTIONS(ty, ref) \
20 inline ty *unwrap(ref P) { \
21 return reinterpret_cast<ty*>(P); \
22 } \
23 \

--- 23 unchanged lines hidden ---