diff options
author | jbates@chromium.org <jbates@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-16 19:13:02 +0000 |
---|---|---|
committer | jbates@chromium.org <jbates@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-16 19:13:02 +0000 |
commit | 01cca00452b5cdfe3a83b108da1bc78b720c6f9c (patch) | |
tree | d65d995fafa6d8ab6d6e1b1bc578898601488494 /ipc/param_traits_write_macros.h | |
parent | 6b354c1d8dd480c4078fc12f39b9c0d8e227a961 (diff) | |
download | chromium_src-01cca00452b5cdfe3a83b108da1bc78b720c6f9c.zip chromium_src-01cca00452b5cdfe3a83b108da1bc78b720c6f9c.tar.gz chromium_src-01cca00452b5cdfe3a83b108da1bc78b720c6f9c.tar.bz2 |
Add support for default values of IPC_STRUCT_MEMBER.
Review URL: http://codereview.chromium.org/10067023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132435 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc/param_traits_write_macros.h')
-rw-r--r-- | ipc/param_traits_write_macros.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipc/param_traits_write_macros.h b/ipc/param_traits_write_macros.h index c83d6b0..eaa4a3c 100644 --- a/ipc/param_traits_write_macros.h +++ b/ipc/param_traits_write_macros.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -17,7 +17,7 @@ #define IPC_STRUCT_BEGIN_WITH_PARENT(struct_name, parent) \ IPC_STRUCT_BEGIN(struct_name) #define IPC_STRUCT_BEGIN(struct_name) IPC_STRUCT_TRAITS_BEGIN(struct_name) -#define IPC_STRUCT_MEMBER(type, name) IPC_STRUCT_TRAITS_MEMBER(name) +#define IPC_STRUCT_MEMBER(type, name, ...) IPC_STRUCT_TRAITS_MEMBER(name) #define IPC_STRUCT_END() IPC_STRUCT_TRAITS_END() // Set up so next include will generate write methods. |