Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(771)

Side by Side Diff: ppapi/thunk/interfaces_preamble.h

Issue 7740038: Use macros to define pepper interfaces (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: New patch Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/thunk/interfaces_ppb_public_stable.h ('k') | ppapi/thunk/ppb_buffer_thunk.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2011 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 // This file defines empty versions of the macros used in the interfaces_*.h
6 // files, as long as they aren't already defined. This allows users of those
7 // files to only implement the macros they need, and everything else will
8 // compile.
9 //
10 // Include this file at the top, and interfaces_postamble.h at the bottom. The
11 // postamble will clean up these definitions.
12
13 #ifndef PROXIED_API
14 #define PROXIED_API(api_name)
15 #define UNDEFINE_PROXIED_API
16 #endif
17
18 #ifndef UNPROXIED_API
19 #define UNPROXIED_API(api_name)
20 #define UNDEFINE_UNPROXIED_API
21 #endif
22
23 #ifndef PROXIED_IFACE
24 #define PROXIED_IFACE(api_name, iface_str, iface_struct)
25 #define UNDEFINE_PROXIED_IFACE
26 #endif
27
28 #ifndef UNPROXIED_IFACE
29 #define UNPROXIED_IFACE(api_name, iface_str, iface_struct)
30 #define UNDEFINE_UNPROXIED_IFACE
31 #endif
OLDNEW
« no previous file with comments | « ppapi/thunk/interfaces_ppb_public_stable.h ('k') | ppapi/thunk/ppb_buffer_thunk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698