Class CFAllocator

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public class CFAllocator
    extends CFType
    • Constructor Detail

      • CFAllocator

        protected CFAllocator()
    • Method Detail

      • getDefaultAllocator

        public static CFAllocator getDefaultAllocator()
      • getSystemDefaultAllocator

        public static CFAllocator getSystemDefaultAllocator()
      • getMallocAllocator

        public static CFAllocator getMallocAllocator()
      • getMallocZoneAllocator

        public static CFAllocator getMallocZoneAllocator()
      • getNullAllocator

        public static CFAllocator getNullAllocator()
      • getUseContextAllocator

        public static CFAllocator getUseContextAllocator()
      • getClassTypeID

        public static long getClassTypeID()
      • setDefault

        public static void setDefault​(CFAllocator allocator)
      • allocate

        public org.robovm.rt.bro.ptr.VoidPtr allocate​(long size,
                                                      long hint)
      • reallocate

        public org.robovm.rt.bro.ptr.VoidPtr reallocate​(org.robovm.rt.bro.ptr.VoidPtr ptr,
                                                        long newsize,
                                                        long hint)
      • deallocate

        public void deallocate​(org.robovm.rt.bro.ptr.VoidPtr ptr)
      • getPreferredSizeForSize

        public long getPreferredSizeForSize​(long size,
                                            long hint)