Class CXSourceLocation

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class CXSourceLocation extends Struct<CXSourceLocation> implements NativeResource
struct CXSourceLocation {
    void const * ptr_data[2];
    unsigned int_data;
}
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • PTR_DATA

      public static final int PTR_DATA
      The struct member offsets.
    • INT_DATA

      public static final int INT_DATA
      The struct member offsets.
  • Constructor Details

    • CXSourceLocation

      public CXSourceLocation(ByteBuffer container)
      Creates a CXSourceLocation instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

      The created instance holds a strong reference to the container object.

  • Method Details