File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed 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