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

org.lwjgl.system.macosx.EnumerationMutationHandlerI Maven / Gradle / Ivy

The newest version!
/*
 * Copyright LWJGL. All rights reserved.
 * License terms: https://www.lwjgl.org/license
 * MACHINE GENERATED FILE, DO NOT EDIT
 */
package org.lwjgl.system.macosx;

import org.lwjgl.system.*;
import org.lwjgl.system.libffi.*;

import static org.lwjgl.system.APIUtil.*;
import static org.lwjgl.system.MemoryUtil.*;
import static org.lwjgl.system.libffi.LibFFI.*;

/**
 * A mutation handler.
 * 
 * 

Type

* *

 * void (*{@link #invoke}) (
 *     id id
 * )
*/ @FunctionalInterface @NativeType("EnumerationMutationHandler") public interface EnumerationMutationHandlerI extends CallbackI { FFICIF CIF = apiCreateCIF( FFI_DEFAULT_ABI, ffi_type_void, ffi_type_pointer ); @Override default FFICIF getCallInterface() { return CIF; } @Override default void callback(long ret, long args) { invoke( memGetAddress(memGetAddress(args)) ); } /** * Will be called when an object is mutated during a foreach iteration. * * @param id the object that was mutated */ void invoke(@NativeType("id") long id); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy