Package org.graalvm.nativeimage.c.function
package org.graalvm.nativeimage.c.function
This package provides parts of the Java / C interface that are related to C functions.
- Since:
- 19.0
-
ClassDescriptionAnnotates a method that is a VM entry point.A
BooleanSupplier
that always returnstrue
.The built-in methods which can be aliased.Marker interface for allexception handler
classes.Special placeholder value forCEntryPoint.exceptionHandler()
to print the caught exception and treat it as afatal error
.Designates anIsolate
parameter to use as the execution context.Designates anIsolateThread
parameter to use as the execution context.ABooleanSupplier
that always returnsfalse
.CEntryPointLiteral<T extends CFunctionPointer>A function pointer to anentry point method
that can be, for example, handed out to C code so that C code can call back into Java code.Denotes anative
method that calls directly from Java to C, without following the JNI protocol.Describes the thread state transition performed when the C function is invoked.Base interface for all function pointers.Denotes an external library that needs to be linked in.Informational only.Pointer to executable code.Annotation for an invocation method defined in a sub-interface ofCFunctionPointer
.A pointer which is relocated when the native image is loaded at runtime.