We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f01329 commit f3d9de4Copy full SHA for f3d9de4
src/rustllvm/ArchiveWrapper.cpp
@@ -32,7 +32,6 @@ struct LLVMRustArchiveMember {
32
};
33
34
typedef OwningBinary<Archive> RustArchive;
35
-#define GET_ARCHIVE(a) ((a)->getBinary())
36
37
extern "C" void*
38
LLVMRustOpenArchive(char *path) {
@@ -70,7 +69,7 @@ struct RustArchiveIterator {
70
69
71
extern "C" RustArchiveIterator*
72
LLVMRustArchiveIteratorNew(RustArchive *ra) {
73
- Archive *ar = GET_ARCHIVE(ra);
+ Archive *ar = ra->getBinary();
74
RustArchiveIterator *rai = new RustArchiveIterator();
75
rai->cur = ar->child_begin();
76
rai->end = ar->child_end();
0 commit comments