refactor: add ARC scaffolding for macOS (#38621)

This commit is contained in:
Shelley Vohr 2023-06-08 10:26:33 +02:00 committed by GitHub
parent 0294debc31
commit 9a9d8ae5ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 43 additions and 23 deletions

View file

@ -10,6 +10,10 @@
#include "base/strings/sys_string_conversions.h"
#include "base/values.h"
#if !defined(__has_feature) || !__has_feature(objc_arc)
#error "This file requires ARC support."
#endif
namespace electron {
NSArray* ListValueToNSArray(const base::Value::List& value) {