Elide GraalVM25.6.0-elide.4
All types
Versions and modules

InvokeCFunctionPointer

Javaannotation interfacein org.graalvm.nativeimage.c.functionsince 19.0

@Retention(RUNTIME)
@Target({METHOD})
public @interface InvokeCFunctionPointer

Annotation for an invocation method defined in a sub-interface of CFunctionPointer. The method is called with C calling conventions. See CFunction for more details on the invocation.

Elements1

CFunction.Transition transition()

transition

since 19.0
CFunction.Transition transition() default TO_NATIVE

The Java-to-C thread transition code used when calling the function.

Returns

CFunction.Transition
No description.

Default: TO_NATIVE