org.lwjgl.util.zstd.ZSTDFreeFunctionI Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lwjgl-zstd Show documentation
Show all versions of lwjgl-zstd Show documentation
A fast lossless compression algorithm, targeting real-time compression scenarios at zlib-level and better compression ratios.
/*
* Copyright LWJGL. All rights reserved.
* License terms: https://www.lwjgl.org/license
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.util.zstd;
import org.lwjgl.system.*;
import static org.lwjgl.system.dyncall.DynCallback.*;
/**
* Instances of this interface may be passed to the {@link ZSTDCustomMem} struct.
*
* Type
*
*
* void (*) (
* void *opaque,
* void *address
* )
*/
@FunctionalInterface
@NativeType("ZSTD_freeFunction")
public interface ZSTDFreeFunctionI extends CallbackI.V {
String SIGNATURE = "(pp)v";
@Override
default String getSignature() { return SIGNATURE; }
@Override
default void callback(long args) {
invoke(
dcbArgPointer(args),
dcbArgPointer(args)
);
}
void invoke(@NativeType("void *") long opaque, @NativeType("void *") long address);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy