File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: 24a75eeccc7990e2c15e47c31283705f6091f752
2
+ refs/heads/master: fb08ef44b4b9bd35f887876bf69e5fe944f7471b
Original file line number Diff line number Diff line change @@ -35,9 +35,9 @@ void LLVMDisposeSectionIterator(LLVMSectionIteratorRef SI) {
35
35
delete unwrap (SI);
36
36
}
37
37
38
- bool LLVMIsSectionIteratorAtEnd (LLVMObjectFileRef ObjectFile,
38
+ LLVMBool LLVMIsSectionIteratorAtEnd (LLVMObjectFileRef ObjectFile,
39
39
LLVMSectionIteratorRef SI) {
40
- return *unwrap (SI) == unwrap (ObjectFile)->end_sections ();
40
+ return ( *unwrap (SI) == unwrap (ObjectFile)->end_sections ()) ? 1 : 0 ;
41
41
}
42
42
43
43
void LLVMMoveToNextSection (LLVMSectionIteratorRef SI) {
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ void LLVMDisposeObjectFile(LLVMObjectFileRef ObjectFile);
38
38
39
39
LLVMSectionIteratorRef LLVMGetSections (LLVMObjectFileRef ObjectFile);
40
40
void LLVMDisposeSectionIterator (LLVMSectionIteratorRef SI);
41
- bool LLVMIsSectionIteratorAtEnd (LLVMObjectFileRef ObjectFile,
41
+ LLVMBool LLVMIsSectionIteratorAtEnd (LLVMObjectFileRef ObjectFile,
42
42
LLVMSectionIteratorRef SI);
43
43
void LLVMMoveToNextSection (LLVMSectionIteratorRef SI);
44
44
const char *LLVMGetSectionName (LLVMSectionIteratorRef SI);
You can’t perform that action at this time.
0 commit comments