@@ -378,48 +378,48 @@ pub enum ThreadLocalMode {
378
378
extern { pub type Module ; }
379
379
extern { pub type Context ; }
380
380
extern { pub type Type ; }
381
- extern { pub type Value_opaque ; }
382
- pub type ValueRef = * mut Value_opaque ;
381
+ extern { pub type Value ; }
382
+ pub type ValueRef = * mut Value ;
383
383
extern { pub type Metadata ; }
384
- extern { pub type BasicBlock_opaque ; }
385
- pub type BasicBlockRef = * mut BasicBlock_opaque ;
384
+ extern { pub type BasicBlock ; }
385
+ pub type BasicBlockRef = * mut BasicBlock ;
386
386
extern { pub type Builder ; }
387
- extern { pub type MemoryBuffer_opaque ; }
388
- pub type MemoryBufferRef = * mut MemoryBuffer_opaque ;
389
- extern { pub type PassManager_opaque ; }
390
- pub type PassManagerRef = * mut PassManager_opaque ;
391
- extern { pub type PassManagerBuilder_opaque ; }
392
- pub type PassManagerBuilderRef = * mut PassManagerBuilder_opaque ;
393
- extern { pub type Use_opaque ; }
394
- pub type UseRef = * mut Use_opaque ;
395
- extern { pub type ObjectFile_opaque ; }
396
- pub type ObjectFileRef = * mut ObjectFile_opaque ;
397
- extern { pub type SectionIterator_opaque ; }
398
- pub type SectionIteratorRef = * mut SectionIterator_opaque ;
399
- extern { pub type Pass_opaque ; }
400
- pub type PassRef = * mut Pass_opaque ;
387
+ extern { pub type MemoryBuffer ; }
388
+ pub type MemoryBufferRef = * mut MemoryBuffer ;
389
+ extern { pub type PassManager ; }
390
+ pub type PassManagerRef = * mut PassManager ;
391
+ extern { pub type PassManagerBuilder ; }
392
+ pub type PassManagerBuilderRef = * mut PassManagerBuilder ;
393
+ extern { pub type Use ; }
394
+ pub type UseRef = * mut Use ;
395
+ extern { pub type ObjectFile ; }
396
+ pub type ObjectFileRef = * mut ObjectFile ;
397
+ extern { pub type SectionIterator ; }
398
+ pub type SectionIteratorRef = * mut SectionIterator ;
399
+ extern { pub type Pass ; }
400
+ pub type PassRef = * mut Pass ;
401
401
extern { pub type TargetMachine ; }
402
402
pub type TargetMachineRef = * const TargetMachine ;
403
- extern { pub type Archive_opaque ; }
404
- pub type ArchiveRef = * mut Archive_opaque ;
405
- extern { pub type ArchiveIterator_opaque ; }
406
- pub type ArchiveIteratorRef = * mut ArchiveIterator_opaque ;
407
- extern { pub type ArchiveChild_opaque ; }
408
- pub type ArchiveChildRef = * mut ArchiveChild_opaque ;
409
- extern { pub type Twine_opaque ; }
410
- pub type TwineRef = * mut Twine_opaque ;
411
- extern { pub type DiagnosticInfo_opaque ; }
412
- pub type DiagnosticInfoRef = * mut DiagnosticInfo_opaque ;
413
- extern { pub type DebugLoc_opaque ; }
414
- pub type DebugLocRef = * mut DebugLoc_opaque ;
415
- extern { pub type SMDiagnostic_opaque ; }
416
- pub type SMDiagnosticRef = * mut SMDiagnostic_opaque ;
417
- extern { pub type RustArchiveMember_opaque ; }
418
- pub type RustArchiveMemberRef = * mut RustArchiveMember_opaque ;
419
- extern { pub type OperandBundleDef_opaque ; }
420
- pub type OperandBundleDefRef = * mut OperandBundleDef_opaque ;
421
- extern { pub type Linker_opaque ; }
422
- pub type LinkerRef = * mut Linker_opaque ;
403
+ extern { pub type Archive ; }
404
+ pub type ArchiveRef = * mut Archive ;
405
+ extern { pub type ArchiveIterator ; }
406
+ pub type ArchiveIteratorRef = * mut ArchiveIterator ;
407
+ extern { pub type ArchiveChild ; }
408
+ pub type ArchiveChildRef = * mut ArchiveChild ;
409
+ extern { pub type Twine ; }
410
+ pub type TwineRef = * mut Twine ;
411
+ extern { pub type DiagnosticInfo ; }
412
+ pub type DiagnosticInfoRef = * mut DiagnosticInfo ;
413
+ extern { pub type DebugLoc ; }
414
+ pub type DebugLocRef = * mut DebugLoc ;
415
+ extern { pub type SMDiagnostic ; }
416
+ pub type SMDiagnosticRef = * mut SMDiagnostic ;
417
+ extern { pub type RustArchiveMember ; }
418
+ pub type RustArchiveMemberRef = * mut RustArchiveMember ;
419
+ extern { pub type OperandBundleDef ; }
420
+ pub type OperandBundleDefRef = * mut OperandBundleDef ;
421
+ extern { pub type Linker ; }
422
+ pub type LinkerRef = * mut Linker ;
423
423
424
424
pub type DiagnosticHandler = unsafe extern "C" fn ( DiagnosticInfoRef , * mut c_void ) ;
425
425
pub type InlineAsmDiagHandler = unsafe extern "C" fn ( SMDiagnosticRef , * const c_void , c_uint ) ;
@@ -552,7 +552,7 @@ extern "C" {
552
552
pub fn LLVMRustMetadataTypeInContext ( C : & Context ) -> & Type ;
553
553
554
554
// Operations on all values
555
- pub fn LLVMTypeOf ( Val : & Value_opaque ) -> & Type ;
555
+ pub fn LLVMTypeOf ( Val : & Value ) -> & Type ;
556
556
pub fn LLVMGetValueName ( Val : ValueRef ) -> * const c_char ;
557
557
pub fn LLVMSetValueName ( Val : ValueRef , Name : * const c_char ) ;
558
558
pub fn LLVMReplaceAllUsesWith ( OldVal : ValueRef , NewVal : ValueRef ) ;
@@ -758,7 +758,7 @@ extern "C" {
758
758
pub fn LLVMDisposeBuilder ( Builder : & Builder ) ;
759
759
760
760
// Metadata
761
- pub fn LLVMSetCurrentDebugLocation ( Builder : & Builder , L : Option < NonNull < Value_opaque > > ) ;
761
+ pub fn LLVMSetCurrentDebugLocation ( Builder : & Builder , L : Option < NonNull < Value > > ) ;
762
762
pub fn LLVMGetCurrentDebugLocation ( Builder : & Builder ) -> ValueRef ;
763
763
pub fn LLVMSetInstDebugLocation ( Builder : & Builder , Inst : ValueRef ) ;
764
764
@@ -784,7 +784,7 @@ extern "C" {
784
784
NumArgs : c_uint ,
785
785
Then : BasicBlockRef ,
786
786
Catch : BasicBlockRef ,
787
- Bundle : Option < NonNull < OperandBundleDef_opaque > > ,
787
+ Bundle : Option < NonNull < OperandBundleDef > > ,
788
788
Name : * const c_char )
789
789
-> ValueRef ;
790
790
pub fn LLVMBuildLandingPad ( B : & ' a Builder ,
@@ -797,14 +797,14 @@ extern "C" {
797
797
pub fn LLVMBuildUnreachable ( B : & Builder ) -> ValueRef ;
798
798
799
799
pub fn LLVMRustBuildCleanupPad ( B : & Builder ,
800
- ParentPad : Option < NonNull < Value_opaque > > ,
800
+ ParentPad : Option < NonNull < Value > > ,
801
801
ArgCnt : c_uint ,
802
802
Args : * const ValueRef ,
803
803
Name : * const c_char )
804
804
-> ValueRef ;
805
805
pub fn LLVMRustBuildCleanupRet ( B : & Builder ,
806
806
CleanupPad : ValueRef ,
807
- UnwindBB : Option < NonNull < BasicBlock_opaque > > )
807
+ UnwindBB : Option < NonNull < BasicBlock > > )
808
808
-> ValueRef ;
809
809
pub fn LLVMRustBuildCatchPad ( B : & Builder ,
810
810
ParentPad : ValueRef ,
@@ -814,8 +814,8 @@ extern "C" {
814
814
-> ValueRef ;
815
815
pub fn LLVMRustBuildCatchRet ( B : & Builder , Pad : ValueRef , BB : BasicBlockRef ) -> ValueRef ;
816
816
pub fn LLVMRustBuildCatchSwitch ( Builder : & Builder ,
817
- ParentPad : Option < NonNull < Value_opaque > > ,
818
- BB : Option < NonNull < BasicBlock_opaque > > ,
817
+ ParentPad : Option < NonNull < Value > > ,
818
+ BB : Option < NonNull < BasicBlock > > ,
819
819
NumHandlers : c_uint ,
820
820
Name : * const c_char )
821
821
-> ValueRef ;
@@ -1126,7 +1126,7 @@ extern "C" {
1126
1126
Fn : ValueRef ,
1127
1127
Args : * const ValueRef ,
1128
1128
NumArgs : c_uint ,
1129
- Bundle : Option < NonNull < OperandBundleDef_opaque > > ,
1129
+ Bundle : Option < NonNull < OperandBundleDef > > ,
1130
1130
Name : * const c_char )
1131
1131
-> ValueRef ;
1132
1132
pub fn LLVMBuildSelect ( B : & Builder ,
@@ -1680,7 +1680,7 @@ extern "C" {
1680
1680
-> LLVMRustResult ;
1681
1681
pub fn LLVMRustArchiveMemberNew ( Filename : * const c_char ,
1682
1682
Name : * const c_char ,
1683
- Child : Option < NonNull < ArchiveChild_opaque > > )
1683
+ Child : Option < NonNull < ArchiveChild > > )
1684
1684
-> RustArchiveMemberRef ;
1685
1685
pub fn LLVMRustArchiveMemberFree ( Member : RustArchiveMemberRef ) ;
1686
1686
0 commit comments