Package org.robovm.apple.corefoundation
Class CFAllocator
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.apple.corefoundation.CFType
org.robovm.apple.corefoundation.CFAllocator
- All Implemented Interfaces:
AutoCloseable
public class CFAllocator extends CFType
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCFAllocator.CFAllocatorPtrNested classes/interfaces inherited from class org.robovm.apple.corefoundation.CFType
CFType.AsListMarshaler, CFType.CFTypePtr, CFType.Marshaler, CFType.NoRetainMarshaler -
Constructor Summary
Constructors Modifier Constructor Description protectedCFAllocator() -
Method Summary
Modifier and Type Method Description VoidPtrallocate(long size, long hint)CFAllocatorcreate(CFAllocatorContext context)voiddeallocate(VoidPtr ptr)static longgetClassTypeID()CFAllocatorContextgetContext()static CFAllocatorgetDefault()static CFAllocatorgetDefaultAllocator()static CFAllocatorgetMallocAllocator()static CFAllocatorgetMallocZoneAllocator()static CFAllocatorgetNullAllocator()longgetPreferredSizeForSize(long size, long hint)static CFAllocatorgetSystemDefaultAllocator()static CFAllocatorgetUseContextAllocator()VoidPtrreallocate(VoidPtr ptr, long newsize, long hint)static voidsetDefault(CFAllocator allocator)Methods inherited from class org.robovm.apple.corefoundation.CFType
autorelease, close, dispose, dispose, doDispose, equalsTo, finalize, getAllocator, getDescription, getRetainCount, getTypeID, getTypeIDDescription, hash, makeCollectable, release, release, retain, retain, show, toString
-
Constructor Details
-
CFAllocator
protected CFAllocator()
-
-
Method Details
-
getContext
-
getDefaultAllocator
-
getSystemDefaultAllocator
-
getMallocAllocator
-
getMallocZoneAllocator
-
getNullAllocator
-
getUseContextAllocator
-
getClassTypeID
public static long getClassTypeID() -
setDefault
-
getDefault
-
create
-
allocate
-
reallocate
-
deallocate
-
getPreferredSizeForSize
public long getPreferredSizeForSize(long size, long hint)
-