Top Description Interfaces Annotations Classes
module nativeimage

Package org.graalvm.nativeimage.c.function


This package provides parts of the Java / C interface that are related to C functions.
Since
19.0

Interface Summary

Modifier and TypeInterface and Description
public interface
CFunctionPointer

Base interface for all function pointers.

public interface
CodePointer

Pointer to executable code.

public interface
RelocatedPointer

A pointer which is relocated when the native image is loaded at runtime.

Annotation Summary

Modifier and TypeAnnotation and Description
public @interface
CEntryPoint

Annotates a method that is a VM entry point.

public @interface
CFunction

Denotes a native method that calls directly from Java to C, without following the JNI protocol.

public @interface
CLibrary

Denotes an external library that needs to be linked in. The annotation can be placed on any element, and the same library can be referenced by multiple annotations.

public @interface
CMacroInfo

Informational only.

public @interface
InvokeCFunctionPointer

Annotation for an invocation method defined in a sub-interface of CFunctionPointer.

Class Summary

Modifier and TypeClass and Description
public class
CEntryPointLiteral<T extends CFunctionPointer>

A function pointer to an entry point method that can be, for example, handed out to C code so that C code can call back into Java code.