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
BooleanSupplierthat always returnstrue.The built-in methods which can be aliased.Marker interface for allexception handlerclasses.Special placeholder value forCEntryPoint.exceptionHandler()to print the caught exception and treat it as afatal error.Designates anIsolateparameter to use as the execution context.Designates anIsolateThreadparameter to use as the execution context.ABooleanSupplierthat always returnsfalse.CEntryPointLiteral<T extends CFunctionPointer>A function pointer to anentry point methodthat can be, for example, handed out to C code so that C code can call back into Java code.Denotes anativemethod 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.