From 27cf5c81b238d763970e989d5b89ceee4da8c2d8 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Tue, 2 Nov 2021 22:08:43 +0100 Subject: Better wrapping for libz inflate --- src/wrapped/generated/functions_list.txt | 2 ++ src/wrapped/generated/wrappedlibztypes.h | 2 ++ 2 files changed, 4 insertions(+) (limited to 'src/wrapped/generated') diff --git a/src/wrapped/generated/functions_list.txt b/src/wrapped/generated/functions_list.txt index 3fa66c35..4f2dd774 100644 --- a/src/wrapped/generated/functions_list.txt +++ b/src/wrapped/generated/functions_list.txt @@ -2936,6 +2936,8 @@ wrappedlibz: - iFp: - deflateEnd - inflateEnd +- iFpi: + - inflate - iFppi: - inflateInit_ - iFpipi: diff --git a/src/wrapped/generated/wrappedlibztypes.h b/src/wrapped/generated/wrappedlibztypes.h index f3432c7c..e2c4742d 100644 --- a/src/wrapped/generated/wrappedlibztypes.h +++ b/src/wrapped/generated/wrappedlibztypes.h @@ -12,6 +12,7 @@ #endif typedef int64_t (*iFp_t)(void*); +typedef int64_t (*iFpi_t)(void*, int64_t); typedef int64_t (*iFppi_t)(void*, void*, int64_t); typedef int64_t (*iFpipi_t)(void*, int64_t, void*, int64_t); typedef int64_t (*iFpippi_t)(void*, int64_t, void*, void*, int64_t); @@ -20,6 +21,7 @@ typedef int64_t (*iFpiiiiipi_t)(void*, int64_t, int64_t, int64_t, int64_t, int64 #define SUPER() ADDED_FUNCTIONS() \ GO(deflateEnd, iFp_t) \ GO(inflateEnd, iFp_t) \ + GO(inflate, iFpi_t) \ GO(inflateInit_, iFppi_t) \ GO(deflateInit_, iFpipi_t) \ GO(inflateInit2_, iFpipi_t) \ -- cgit 1.4.1