Top Description Interfaces Annotations Classes
module nativeimage

Package org.graalvm.nativeimage.c.type


This package provides parts of the Java / C interface that are related to standard C pointer types, as well as utility functions to convert between Java types and C types.
Since
19.0

Interface Summary

Modifier and TypeInterface and Description
public interface
CCharPointer

A pointer to a 8-bit C primitive value.

public interface
CCharPointerPointer

A pointer to a pointer to a 8-bit C primitive value.

public interface
CDoublePointer

A pointer to a C primitive 'double' value.

public interface
CFloatPointer

A pointer to a C primitive 'float' value.

public interface
CIntPointer

A pointer to a 32-bit C primitive value.

public interface
CIntPointerPointer

A pointer to a pointer to a 32-bit C primitive value.

public interface
CLongPointer

A pointer to a 64-bit C primitive value.

public interface
CShortPointer

A pointer to a 16-bit C primitive value.

public interface
VoidPointer

A void* pointer to an opaque C value of an unknown type, without any methods to read or write.

public interface
WordPointer

A untyped C pointer to any machine-word-sized value, e.g., a pointer to another pointer or a pointer to a UnsignedWord or SignedWord value.

Annotation Summary

Modifier and TypeAnnotation and Description
public @interface
CConst

Qualifies a C type as const in an entry-point method signature.

public @interface
CTypedef

Defines a name for C type to be used in an entry-point method signature.

public @interface
CUnsigned

Qualifies a C integer type as unsigned in an entry-point method signature.

Class Summary

Modifier and TypeClass and Description
public class
CTypeConversion

Utility methods to convert between Java types and C types.