initLoader() 4th parameter allows larger output size
modified: packer.cpp modified: packer.h
This commit is contained in:
committed by
Markus F.X.J. Oberhumer
parent
99575e1010
commit
39442e6282
+2
-2
@@ -1011,11 +1011,11 @@ static const char *getIdentstr(unsigned *size, int small) {
|
||||
}
|
||||
}
|
||||
|
||||
void Packer::initLoader(const void *pdata, int plen, int small) {
|
||||
void Packer::initLoader(const void *pdata, int plen, int small, int pextra) {
|
||||
delete linker;
|
||||
linker = newLinker();
|
||||
assert(bele == linker->bele);
|
||||
linker->init(pdata, plen);
|
||||
linker->init(pdata, plen, pextra);
|
||||
|
||||
unsigned size;
|
||||
char const *const ident = getIdentstr(&size, small);
|
||||
|
||||
Reference in New Issue
Block a user