Flutter Engine
The Flutter Engine
fml
platform
darwin
scoped_policy.h
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
#ifndef FLUTTER_FML_PLATFORM_DARWIN_SCOPED_POLICY_H_
6
#define FLUTTER_FML_PLATFORM_DARWIN_SCOPED_POLICY_H_
7
8
namespace
fml
{
9
namespace
scoped_policy {
10
11
// Defines the ownership policy for a scoped object.
12
enum
OwnershipPolicy
{
13
// The scoped object takes ownership of an object by taking over an existing
14
// ownership claim.
15
kAssume
,
16
17
// The scoped object will retain the the object and any initial ownership is
18
// not changed.
19
kRetain
20
};
21
22
}
// namespace scoped_policy
23
}
// namespace fml
24
25
#endif
// FLUTTER_FML_PLATFORM_DARWIN_SCOPED_POLICY_H_
fml::scoped_policy::OwnershipPolicy
OwnershipPolicy
Definition:
scoped_policy.h:12
fml::scoped_policy::kAssume
@ kAssume
Definition:
scoped_policy.h:15
fml::scoped_policy::kRetain
@ kRetain
Definition:
scoped_policy.h:19
fml
Definition:
ascii_trie.cc:9
Generated on Sun Jun 23 2024 21:54:58 for Flutter Engine by
1.9.4