forked from OSchip/llvm-project
parent
0c740d4b9a
commit
df1836f750
|
@ -27,14 +27,6 @@ using namespace llvm;
|
|||
// Wrapping the C bindings types.
|
||||
DEFINE_SIMPLE_CONVERSION_FUNCTIONS(GenericValue, LLVMGenericValueRef)
|
||||
|
||||
inline TargetLibraryInfo *unwrap(LLVMTargetLibraryInfoRef P) {
|
||||
return reinterpret_cast<TargetLibraryInfo*>(P);
|
||||
}
|
||||
|
||||
inline LLVMTargetLibraryInfoRef wrap(const TargetLibraryInfo *P) {
|
||||
TargetLibraryInfo *X = const_cast<TargetLibraryInfo*>(P);
|
||||
return reinterpret_cast<LLVMTargetLibraryInfoRef>(X);
|
||||
}
|
||||
|
||||
inline LLVMTargetMachineRef wrap(const TargetMachine *P) {
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue