addToBuilder static method
void
addToBuilder(
- ObjCProtocolBuilder builder, {
- required ObjCObject mutableCopyWithZone_(),
- bool $keepIsolateAlive = true,
Adds the implementation of the NSMutableCopying protocol to an existing objc.ObjCProtocolBuilder.
Note: You cannot call this method after you have called builder.build.
Implementation
static void addToBuilder(
objc.ObjCProtocolBuilder builder, {
required objc.ObjCObject Function(ffi.Pointer<NSZone>) mutableCopyWithZone_,
bool $keepIsolateAlive = true,
}) {
NSMutableCopying$Builder.mutableCopyWithZone_.implement(
builder,
mutableCopyWithZone_,
);
builder.addProtocol($protocol);
}