Skip to content

Commit fcdb459

Browse files
committed
PatchWithDecompressor
1 parent dd40b5f commit fcdb459

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

Snap.HPatch.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
22
<metadata>
33
<id>Snap.HPatch</id>
4-
<version>0.0.1</version>
4+
<version>0.0.2</version>
55
<authors>DGP Studio</authors>
66
<developmentDependency>true</developmentDependency>
77
<requireLicenseAcceptance>false</requireLicenseAcceptance>

Snap.HPatch/hpatch.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3855,4 +3855,9 @@ EXTERN_C __declspec(dllexport) BOOL APIENTRY NewDataSize(HPatch::hpatch_TStreamI
38553855
EXTERN_C __declspec(dllexport) BOOL APIENTRY Patch(HPatch::hpatch_TStreamInput* source, HPatch::hpatch_TStreamInput* diff, HPatch::hpatch_TStreamOutput* target)
38563856
{
38573857
return HPatch::patch_decompress(target, source, diff, nullptr);
3858+
}
3859+
3860+
EXTERN_C __declspec(dllexport) BOOL APIENTRY PatchWithDecompressor(HPatch::hpatch_TStreamInput* source, HPatch::hpatch_TStreamInput* diff, HPatch::hpatch_TStreamOutput* target, HPatch::hpatch_TDecompress* decompressor)
3861+
{
3862+
return HPatch::patch_decompress(target, source, diff, decompressor);
38583863
}

0 commit comments

Comments
 (0)