org.lwjgl.llvm.IndexerEnteredMainFileI Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lwjgl-llvm Show documentation
Show all versions of lwjgl-llvm Show documentation
A collection of modular and reusable compiler and toolchain technologies.
The newest version!
/*
* Copyright LWJGL. All rights reserved.
* License terms: https://www.lwjgl.org/license
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.llvm;
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.*;
/**
* Instances of this interface may be set to the {@code enteredMainFile} field of the {@link IndexerCallbacks} struct.
*
* Type
*
*
* CXIdxClientFile (*{@link #invoke}) (
* CXClientData client_data,
* CXFile mainFile,
* void *reserved
* )
*/
@FunctionalInterface
@NativeType("CXIdxClientFile (*) (CXClientData, CXFile, void *)")
public interface IndexerEnteredMainFileI extends CallbackI {
FFICIF CIF = apiCreateCIF(
FFI_DEFAULT_ABI,
ffi_type_pointer,
ffi_type_pointer, ffi_type_pointer, ffi_type_pointer
);
@Override
default FFICIF getCallInterface() { return CIF; }
@Override
default void callback(long ret, long args) {
long __result = invoke(
memGetAddress(memGetAddress(args)),
memGetAddress(memGetAddress(args + POINTER_SIZE)),
memGetAddress(memGetAddress(args + 2 * POINTER_SIZE))
);
apiClosureRetP(ret, __result);
}
/** The {@code IndexerCallbacks.enteredMainFile} callback. */
@NativeType("CXIdxClientFile") long invoke(@NativeType("CXClientData") long client_data, @NativeType("CXFile") long mainFile, @NativeType("void *") long reserved);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy