@@ -445,14 +445,19 @@ pub extern mod llvm {
445
445
Count : c_uint ,
446
446
Packed : Bool ) -> ValueRef ;
447
447
448
- pub unsafe fn LLVMConstString ( Str : * c_char , Length : c_uint ,
449
- DontNullTerminate : Bool ) -> ValueRef ;
450
- pub unsafe fn LLVMConstArray ( ElementTy : TypeRef , ConstantVals : * ValueRef ,
451
- Length : c_uint ) -> ValueRef ;
448
+ pub unsafe fn LLVMConstString ( Str : * c_char ,
449
+ Length : c_uint ,
450
+ DontNullTerminate : Bool )
451
+ -> ValueRef ;
452
+ pub unsafe fn LLVMConstArray ( ElementTy : TypeRef ,
453
+ ConstantVals : * ValueRef ,
454
+ Length : c_uint )
455
+ -> ValueRef ;
452
456
pub unsafe fn LLVMConstStruct ( ConstantVals : * ValueRef ,
453
- Count : c_uint , Packed : Bool ) -> ValueRef ;
457
+ Count : c_uint ,
458
+ Packed : Bool ) -> ValueRef ;
454
459
pub unsafe fn LLVMConstVector ( ScalarConstantVals : * ValueRef ,
455
- Size : c_uint ) -> ValueRef ;
460
+ Size : c_uint ) -> ValueRef ;
456
461
457
462
/* Constant expressions */
458
463
pub unsafe fn LLVMAlignOf ( Ty : TypeRef ) -> ValueRef ;
@@ -463,8 +468,8 @@ pub extern mod llvm {
463
468
pub unsafe fn LLVMConstFNeg ( ConstantVal : ValueRef ) -> ValueRef ;
464
469
pub unsafe fn LLVMConstNot ( ConstantVal : ValueRef ) -> ValueRef ;
465
470
pub unsafe fn LLVMConstAdd ( LHSConstant : ValueRef ,
466
- RHSConstant : ValueRef )
467
- -> ValueRef ;
471
+ RHSConstant : ValueRef )
472
+ -> ValueRef ;
468
473
pub unsafe fn LLVMConstNSWAdd ( LHSConstant : ValueRef ,
469
474
RHSConstant : ValueRef )
470
475
-> ValueRef ;
@@ -475,14 +480,14 @@ pub extern mod llvm {
475
480
RHSConstant : ValueRef )
476
481
-> ValueRef ;
477
482
pub unsafe fn LLVMConstSub ( LHSConstant : ValueRef ,
478
- RHSConstant : ValueRef )
479
- -> ValueRef ;
483
+ RHSConstant : ValueRef )
484
+ -> ValueRef ;
480
485
pub unsafe fn LLVMConstNSWSub ( LHSConstant : ValueRef ,
481
- RHSConstant : ValueRef )
482
- -> ValueRef ;
486
+ RHSConstant : ValueRef )
487
+ -> ValueRef ;
483
488
pub unsafe fn LLVMConstNUWSub ( LHSConstant : ValueRef ,
484
- RHSConstant : ValueRef )
485
- -> ValueRef ;
489
+ RHSConstant : ValueRef )
490
+ -> ValueRef ;
486
491
pub unsafe fn LLVMConstFSub ( LHSConstant : ValueRef ,
487
492
RHSConstant : ValueRef )
488
493
-> ValueRef ;
0 commit comments