Pepper_31_C++_interfaces
Main Page
Namespaces
Classes
Files
File List
File Members
pass_ref.h
Go to the documentation of this file.
1
// Copyright (c) 2012 The Chromium 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 PPAPI_CPP_PASS_REF_H_
6
#define PPAPI_CPP_PASS_REF_H_
7
8
/// @file
9
/// This file defines an annotation for constructors and other functions that
10
/// take ownership of a pointer.
11
namespace
pp {
12
13
/// An annotation for constructors and other functions that take ownership of
14
/// a pointer. For example, a resource constructor that takes ownership of a
15
/// provided <code>PP_Resource</code> ref count would take this enumeration to
16
/// differentiate from the more typical use case of taking its own reference.
17
enum
PassRef
{
PASS_REF
};
18
19
}
// namespace pp
20
21
#endif // PPAPI_CPP_PASS_REF_H_
pp::PASS_REF
Definition:
pass_ref.h:17
pp::PassRef
PassRef
Definition:
pass_ref.h:17
Generated on Wed May 4 2016 11:31:16 for Pepper_31_C++_interfaces by
1.8.6