aboutsummaryrefslogtreecommitdiff
path: root/lib/Net.Compression/VNLib.Net.Compression/LibraryWrapper.cs
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Net.Compression/VNLib.Net.Compression/LibraryWrapper.cs')
-rw-r--r--lib/Net.Compression/VNLib.Net.Compression/LibraryWrapper.cs16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/Net.Compression/VNLib.Net.Compression/LibraryWrapper.cs b/lib/Net.Compression/VNLib.Net.Compression/LibraryWrapper.cs
index fe8fb5a..78cfd17 100644
--- a/lib/Net.Compression/VNLib.Net.Compression/LibraryWrapper.cs
+++ b/lib/Net.Compression/VNLib.Net.Compression/LibraryWrapper.cs
@@ -114,21 +114,21 @@ namespace VNLib.Net.Compression
//build the method table
MethodTable methods = new()
{
- GetMethods = lib.DangerousGetMethod<GetSupportedMethodsDelegate>(),
+ GetMethods = lib.DangerousGetFunction<GetSupportedMethodsDelegate>(),
- GetBlockSize = lib.DangerousGetMethod<GetBlockSizeDelegate>(),
+ GetBlockSize = lib.DangerousGetFunction<GetBlockSizeDelegate>(),
- GetCompType = lib.DangerousGetMethod<GetCompressorTypeDelegate>(),
+ GetCompType = lib.DangerousGetFunction<GetCompressorTypeDelegate>(),
- GetCompLevel = lib.DangerousGetMethod<GetCompressorLevelDelegate>(),
+ GetCompLevel = lib.DangerousGetFunction<GetCompressorLevelDelegate>(),
- Alloc = lib.DangerousGetMethod<AllocateCompressorDelegate>(),
+ Alloc = lib.DangerousGetFunction<AllocateCompressorDelegate>(),
- Free = lib.DangerousGetMethod<FreeCompressorDelegate>(),
+ Free = lib.DangerousGetFunction<FreeCompressorDelegate>(),
- GetOutputSize = lib.DangerousGetMethod<GetCompressedSizeDelegate>(),
+ GetOutputSize = lib.DangerousGetFunction<GetCompressedSizeDelegate>(),
- Compress = lib.DangerousGetMethod<CompressBlockDelegate>()
+ Compress = lib.DangerousGetFunction<CompressBlockDelegate>()
};
return new (lib, filePath, in methods);