reopenDocumentForURL method

bool reopenDocumentForURL(
  1. NSURL? url, {
  2. required NSURL withContentsOfURL,
  3. required Pointer<Pointer<ObjCObject>> error,
})

reopenDocumentForURL:withContentsOfURL:error:

Implementation

bool reopenDocumentForURL(
  objc.NSURL? url, {
  required objc.NSURL withContentsOfURL,
  required ffi.Pointer<ffi.Pointer<objc.ObjCObject>> error,
}) {
  objc.checkOsVersionInternal(
    'NSDocumentController.reopenDocumentForURL:withContentsOfURL:error:',
    iOS: (true, null),
    macOS: (false, (10, 4, 0)),
  );
  return _objc_msgSend_6z4k82(
    this.ref.pointer,
    _sel_reopenDocumentForURL_withContentsOfURL_error_,
    url?.ref.pointer ?? ffi.nullptr,
    withContentsOfURL.ref.pointer,
    error,
  );
}