Class LLVMOrcCLookupSetElement

  • All Implemented Interfaces:
    java.lang.AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

    public class LLVMOrcCLookupSetElement
    extends org.lwjgl.system.Struct
    implements org.lwjgl.system.NativeResource
    An element type for a symbol lookup set.

    Layout

    
     struct LLVMOrcCLookupSetElement {
         LLVMOrcSymbolStringPoolEntryRef Name;
         LLVMOrcSymbolLookupFlags LookupFlags;
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • NAME, LOOKUPFLAGS

        The struct member offsets.
    • Constructor Detail

      • LLVMOrcCLookupSetElement

        public LLVMOrcCLookupSetElement​(java.nio.ByteBuffer container)
        Creates a LLVMOrcCLookupSetElement 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 Detail

      • sizeof

        public int sizeof()
        Specified by:
        sizeof in class org.lwjgl.system.Struct
      • Name

        public long Name()
        Returns:
        the value of the Name field.
      • LookupFlags

        public int LookupFlags()
        Returns:
        the value of the LookupFlags field.
      • LookupFlags

        public LLVMOrcCLookupSetElement LookupFlags​(int value)
        Sets the specified value to the LookupFlags field.
      • set

        public LLVMOrcCLookupSetElement set​(long Name,
                                            int LookupFlags)
        Initializes this struct with the specified values.
      • malloc

        public static LLVMOrcCLookupSetElement malloc()
        Returns a new LLVMOrcCLookupSetElement instance allocated with memAlloc. The instance must be explicitly freed.
      • calloc

        public static LLVMOrcCLookupSetElement calloc()
        Returns a new LLVMOrcCLookupSetElement instance allocated with memCalloc. The instance must be explicitly freed.
      • create

        public static LLVMOrcCLookupSetElement create()
        Returns a new LLVMOrcCLookupSetElement instance allocated with BufferUtils.
      • create

        public static LLVMOrcCLookupSetElement create​(long address)
        Returns a new LLVMOrcCLookupSetElement instance for the specified memory address.
      • malloc

        public static LLVMOrcCLookupSetElement malloc​(org.lwjgl.system.MemoryStack stack)
        Returns a new LLVMOrcCLookupSetElement instance allocated on the specified MemoryStack.
        Parameters:
        stack - the stack from which to allocate
      • calloc

        public static LLVMOrcCLookupSetElement calloc​(org.lwjgl.system.MemoryStack stack)
        Returns a new LLVMOrcCLookupSetElement instance allocated on the specified MemoryStack and initializes all its bits to zero.
        Parameters:
        stack - the stack from which to allocate
      • calloc

        public static LLVMOrcCLookupSetElement.Buffer calloc​(int capacity,
                                                             org.lwjgl.system.MemoryStack stack)
        Returns a new LLVMOrcCLookupSetElement.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.
        Parameters:
        stack - the stack from which to allocate
        capacity - the buffer capacity
      • nName

        public static long nName​(long struct)
        Unsafe version of Name().
      • nLookupFlags

        public static int nLookupFlags​(long struct)
        Unsafe version of LookupFlags().
      • nName

        public static void nName​(long struct,
                                 long value)
        Unsafe version of Name.
      • nLookupFlags

        public static void nLookupFlags​(long struct,
                                        int value)
        Unsafe version of LookupFlags.
      • validate

        public static void validate​(long struct)
        Validates pointer members that should not be NULL.
        Parameters:
        struct - the struct to validate