@Documented @Retention(value=RUNTIME) @Target(value={TYPE,METHOD}) public @interface NoDeallocator
new
(or for arrays the new[]
)
operator, the deallocator produced uses the delete
(or delete[]
)
operator. However, if that operator is not accessible, or the native library
does not use that operator for object deallocation, we may apply this annotation
to an allocator method to prevent it from using these operators.Allocator
,
ArrayAllocator
,
Generator
Copyright © 2024. All rights reserved.