Class Struct

    • Method Detail

      • sizeof

        public abstract int sizeof()
        Returns the sizeof(struct).
      • clear

        public void clear()
        Zeroes-out the struct data.
      • free

        public void free()
        Frees the struct allocation.

        This method should not be used if the memory backing this struct is not owned by the struct.

        Specified by:
        free in interface NativeResource