mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +00:00
prettify SymbolInfo array
This commit is contained in:
parent
2fa7fa0e83
commit
99bc9b1d55
@ -52,11 +52,10 @@ writeObject(uint8_t* data, size_t size, OutputStream* out, const char* startName
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
SymbolInfo symbols[2];
|
SymbolInfo symbols[] = {
|
||||||
symbols[0].name = startName;
|
SymbolInfo(0, startName),
|
||||||
symbols[0].addr = 0;
|
SymbolInfo(size, endName)
|
||||||
symbols[1].name = endName;
|
};
|
||||||
symbols[1].addr = size;
|
|
||||||
|
|
||||||
unsigned accessFlags = (writable ? Platform::Writable : 0) | (executable ? Platform::Executable : 0);
|
unsigned accessFlags = (writable ? Platform::Writable : 0) | (executable ? Platform::Executable : 0);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user