Flutter Engine
The Flutter Engine
scoped_nsobject.mm
Go to the documentation of this file.
1// Copyright 2013 The Flutter Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "flutter/fml/platform/darwin/scoped_nsobject.h"
6
7namespace fml {
8
9namespace internal {
10
12 return [obj retain];
13}
14
16 return [obj autorelease];
17}
18
20 return [obj release];
21}
22
23} // namespace internal
24} // namespace fml
void ScopedNSProtocolTraitsRelease(__unsafe_unretained id obj)
id ScopedNSProtocolTraitsAutoRelease(__unsafe_unretained id obj) __attribute((ns_returns_not_retained))
id ScopedNSProtocolTraitsRetain(__unsafe_unretained id obj) __attribute((ns_returns_not_retained))
Definition: ascii_trie.cc:9