Package org.graalvm.nativeimage.c.type
Class CTypeConversion.CCharPointerPointerHolder
java.lang.Object
org.graalvm.nativeimage.c.type.CTypeConversion.CCharPointerPointerHolder
- All Implemented Interfaces:
AutoCloseable
- Enclosing class:
CTypeConversion
public abstract static class CTypeConversion.CCharPointerPointerHolder
extends Object
implements AutoCloseable
An auto-closable that holds a Java
CharSequence
[] array as a null-terminated array of
null-terminated C char[]s. The C pointers are only valid as long as the auto-closeable has
not been closed.- Since:
- 19.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract void
close()
Discards the C pointer.abstract CCharPointerPointer
get()
Returns the C pointer to pointers of null-terminated C char[] arrays.
-
Constructor Details
-
CCharPointerPointerHolder
public CCharPointerPointerHolder()- Since:
- 19.0
-
-
Method Details
-
get
Returns the C pointer to pointers of null-terminated C char[] arrays.- Since:
- 19.0
-
close
public abstract void close()Discards the C pointer.- Specified by:
close
in interfaceAutoCloseable
- Since:
- 19.0
-