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:
eccles 2002-08-19 23:18:19 +00:00
parent 7a2cf3e5b8
commit 34db30b2ce
17 changed files with 154 additions and 118 deletions

View file

@ -1,6 +1,6 @@
/*
Note: this version of zlib has been hacked up quite a bit in order to reduce
the size of the EXE header and to remove what we didn't need.
Note: this version of zlib has been hacked up quite a bit in order to reduce
the size of the EXE header and to remove what we didn't need.
For the complete real thing, go to:
http://www.info-zip.org/pub/infozip/zlib/
@ -115,7 +115,7 @@ ZEXTERN int ZEXPORT deflate OF((z_streamp strm, int flush));
ZEXTERN int ZEXPORT deflateEnd OF((z_streamp strm));
ZEXTERN int ZEXPORT inflateInit OF((z_streamp strm));
int inflate(z_streamp z);
int ZEXPORT inflate(z_streamp z);
ZEXTERN int ZEXPORT inflateEnd OF((z_streamp strm));
ZEXTERN int ZEXPORT deflateInit2 OF((z_streamp strm,
int level,
@ -126,7 +126,7 @@ ZEXTERN int ZEXPORT deflateInit2 OF((z_streamp strm,
ZEXTERN int ZEXPORT deflateReset OF((z_streamp strm));
int inflateReset(z_streamp z);
int ZEXPORT inflateReset(z_streamp z);
/* various hacks, don't look :) */
@ -147,8 +147,6 @@ ZEXTERN int ZEXPORT inflateInit2_ OF((z_streamp strm, int windowBits,
#define deflateInit(strm, level) \
deflateInit_((strm), (level), "", sizeof(z_stream))
extern int inflateInit(z_streamp z);
#ifdef __cplusplus
}