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

org.lwjgl.system.rpmalloc.RPMemoryOverwriteCallbackI Maven / Gradle / Ivy

Go to download

A public domain cross platform lock free thread caching 16-byte aligned memory allocator implemented in C.

There is a newer version: 3.3.4
Show newest version
/*
 * Copyright LWJGL. All rights reserved.
 * License terms: https://www.lwjgl.org/license
 * MACHINE GENERATED FILE, DO NOT EDIT
 */
package org.lwjgl.system.rpmalloc;

import org.lwjgl.system.*;

import static org.lwjgl.system.dyncall.DynCallback.*;

/**
 * Instances of this interface may be set to the {@link RPMallocConfig} struct.
 * 
 * 

Type

* *
 * void (*) (
 *     void *address
 * )
*/ @FunctionalInterface @NativeType("void (*) (void *)") public interface RPMemoryOverwriteCallbackI extends CallbackI.V { String SIGNATURE = "(p)v"; @Override default String getSignature() { return SIGNATURE; } @Override default void callback(long args) { invoke( dcbArgPointer(args) ); } /** * Debug callback if memory guards are enabled. Called if a memory overwrite is detected before or after the allocated memory block. * * @param address the allocated block around which memory overwrite was detected */ void invoke(@NativeType("void *") long address); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy