Commit f2da9f63 authored by ROOL's avatar ROOL 🤖

Add SWI ZLib_InflateReset2

Detail:
  Function introduced in zlib 1.2.4, this is the partner to existing SWI ZLib_InflateReset.
Admin:
  Submission for PNG bounty.

Version 0.04. Tagged as 'ZLibMod-0_04'
parent 541a966f
/* (0.03)
/* (0.04)
*
* This file is automatically maintained by srccommit, do not edit manually.
*
*/
#define Module_MajorVersion_CMHG 0.03
#define Module_MajorVersion_CMHG 0.04
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 05 Nov 2019
#define Module_Date_CMHG 18 Jan 2020
#define Module_MajorVersion "0.03"
#define Module_Version 3
#define Module_MajorVersion "0.04"
#define Module_Version 4
#define Module_MinorVersion ""
#define Module_Date "05 Nov 2019"
#define Module_Date "18 Jan 2020"
#define Module_ApplicationDate "05-Nov-19"
#define Module_ApplicationDate "18-Jan-20"
#define Module_ComponentName "ZLibMod"
#define Module_FullVersion "0.03"
#define Module_HelpVersion "0.03 (05 Nov 2019)"
#define Module_LibraryVersionInfo "0:3"
#define Module_FullVersion "0.04"
#define Module_HelpVersion "0.04 (18 Jan 2020)"
#define Module_LibraryVersionInfo "0:4"
......@@ -495,6 +495,10 @@ _kernel_oserror *module_swis(int swi_offset, _kernel_swi_regs *r, void *pw)
return ERROR(InvalidTaskAssociate);
}
case ZLib_InflateReset2-ZLib_00:
r->r[0] = inflateReset2((z_streamp) r->r[0], r->r[1]);
return NULL;
default:
return ERROR(UnknownSWI);
}
......
......@@ -76,6 +76,7 @@ swi-decoding-table: ZLib,
GZSeek,
GZTell,
GZEOF,
TaskAssociate
TaskAssociate,
InflateReset2
service-call-handler: module_service Service_WimpCloseDown
......@@ -65,6 +65,7 @@ SWIClass SETS ZLibSWI_Name
AddSWI GZTell
AddSWI GZEOF
AddSWI TaskAssociate
AddSWI InflateReset2
; The stream structure
^ 0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment