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

Unified Diff: ipc/param_traits_read_macros.h

Issue 10067023: Add support for default values of IPC_STRUCT_MEMBER. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tsepez feedback Created 8 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ipc/param_traits_log_macros.h ('k') | ipc/param_traits_write_macros.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/param_traits_read_macros.h
diff --git a/ipc/param_traits_read_macros.h b/ipc/param_traits_read_macros.h
index 9d89a9261c538b3913413d3db8b95b1bef8263e3..f504cb4fbf4c327f0e9b27a2f0bec7c1de4f5516 100644
--- a/ipc/param_traits_read_macros.h
+++ b/ipc/param_traits_read_macros.h
@@ -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 read methods.
« no previous file with comments | « ipc/param_traits_log_macros.h ('k') | ipc/param_traits_write_macros.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698