Instant saving of 0.5K - use of stdcall calling convention to
reduce code overhead associated with managing the stack git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@694 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
7a2cf3e5b8
commit
34db30b2ce
17 changed files with 154 additions and 118 deletions
|
@ -32,7 +32,7 @@ struct internal_state {
|
|||
};
|
||||
|
||||
|
||||
int inflateReset(z_streamp z)
|
||||
int ZEXPORT inflateReset(z_streamp z)
|
||||
{
|
||||
if (z == Z_NULL || z->state == Z_NULL)
|
||||
return Z_STREAM_ERROR;
|
||||
|
@ -42,7 +42,7 @@ int inflateReset(z_streamp z)
|
|||
}
|
||||
|
||||
|
||||
int inflateInit(z_streamp z)
|
||||
int ZEXPORT inflateInit(z_streamp z)
|
||||
{
|
||||
int inflate_blocks_getssize(void);
|
||||
void inflate_blocks_init(z_streamp z,inflate_blocks_statef *s);
|
||||
|
@ -57,7 +57,7 @@ int inflateInit(z_streamp z)
|
|||
}
|
||||
|
||||
|
||||
int inflate(z_streamp z)
|
||||
int ZEXPORT inflate(z_streamp z)
|
||||
{
|
||||
return inflate_blocks(&z->state->blocks, z, Z_OK);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue