BNBImageReleaser
Objective-C
@interface BNBImageReleaser : NSObject
/**
* Increments the reference count by 1 for an interface pointer to a object.
* MUST be called before release().
*/
- (void)addRef;
/**
* Increments the reference count by number for an interface pointer to a object.
* @param number number of add ref.
* MUST be called before release().
*/
- (void)addRefCount:(int32_t)number;
/**
* Decrements the reference count for an interface on a COM object.
* After the last ref is deleted, the java image will be closed(released).
* MUST be called from the deleters of bnb::color_plane.
*/
- (void)release;
@end
Swift
class BNBImageReleaser : NSObject
Undocumented
-
Increments the reference count by 1 for an interface pointer to a object. MUST be called before release().
Declaration
Objective-C
- (void)addRef;
Swift
func addRef()
-
Increments the reference count by number for an interface pointer to a object.
Declaration
Objective-C
- (void)addRefCount:(int32_t)number;
Swift
func addRefCount(_ number: Int32)
Parameters
number
number of add ref. MUST be called before release().
-
Decrements the reference count for an interface on a COM object. After the last ref is deleted, the java image will be closed(released). MUST be called from the deleters of bnb::color_plane.
Declaration
Objective-C
- (void)release;
Swift
func release()