diff tools/binding/llvm/c/Target.d @ 1585:29b0f2d11c92

Updated C binding to be more up to date with LLVM.
author tomas@localhost.localdomain
date Thu, 22 Oct 2009 13:30:30 +0200
parents 1ba61de8796b
children
line wrap: on
line diff
--- a/tools/binding/llvm/c/Target.d	Wed Oct 21 05:46:56 2009 +0200
+++ b/tools/binding/llvm/c/Target.d	Thu Oct 22 13:30:30 2009 +0200
@@ -27,13 +27,8 @@
 enum { LLVMBigEndian, LLVMLittleEndian };
 alias int LLVMByteOrdering;
 
-private
-{
-    struct LLVM_OpaqueTargetData {}
-    struct LLVM_OpaqueStructLayout {}
-}
-typedef LLVM_OpaqueTargetData* LLVMTargetDataRef;
-typedef LLVM_OpaqueStructLayout* LLVMStructLayoutRef;
+typedef void* LLVMTargetDataRef;
+typedef void* LLVMStructLayoutRef;
 
 
 /*===-- Target Data -------------------------------------------------------===*/