mirror of
https://github.com/corda/corda.git
synced 2025-01-04 04:04:27 +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;
|
||||
}
|
||||
|
||||
SymbolInfo symbols[2];
|
||||
symbols[0].name = startName;
|
||||
symbols[0].addr = 0;
|
||||
symbols[1].name = endName;
|
||||
symbols[1].addr = size;
|
||||
SymbolInfo symbols[] = {
|
||||
SymbolInfo(0, startName),
|
||||
SymbolInfo(size, endName)
|
||||
};
|
||||
|
||||
unsigned accessFlags = (writable ? Platform::Writable : 0) | (executable ? Platform::Executable : 0);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user