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 Details

    • CCharPointerPointerHolder

      public CCharPointerPointerHolder()
      Since:
      19.0
  • Method Details

    • get

      public abstract CCharPointerPointer 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 interface AutoCloseable
      Since:
      19.0