All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.lwjgl.util.zstd.ZSTDAllocFunctionI Maven / Gradle / Ivy

Go to download

A fast lossless compression algorithm, targeting real-time compression scenarios at zlib-level and better compression ratios.

There is a newer version: 3.3.5
Show newest version
/*
 * 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.*;

/**
 * 

Type

* *

 * void * (*) (
 *     void *opaque,
 *     size_t size
 * )
*/ @FunctionalInterface @NativeType("ZSTD_allocFunction") public interface ZSTDAllocFunctionI extends CallbackI.P { String SIGNATURE = "(pp)p"; @Override default String getSignature() { return SIGNATURE; } @Override default long callback(long args) { return invoke( dcbArgPointer(args), dcbArgPointer(args) ); } @NativeType("void *") long invoke(@NativeType("void *") long opaque, @NativeType("size_t") long size); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy