MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/SPlisHSPlasH / inflateReset

Function inflateReset

extern/zlib/src/inflate.c:130–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128}
129
130int ZEXPORT inflateReset(z_streamp strm) {
131 struct inflate_state FAR *state;
132
133 if (inflateStateCheck(strm)) return Z_STREAM_ERROR;
134 state = (struct inflate_state FAR *)strm->state;
135 state->wsize = 0;
136 state->whave = 0;
137 state->wnext = 0;
138 return inflateResetKeep(strm);
139}
140
141int ZEXPORT inflateReset2(z_streamp strm, int windowBits) {
142 int wrap;

Callers 3

gz_lookFunction · 0.85
inflateReset2Function · 0.85
inflate.cFile · 0.85

Calls 2

inflateStateCheckFunction · 0.85
inflateResetKeepFunction · 0.85

Tested by

no test coverage detected