[email protected] | 01cca004 | 2012-04-16 19:13:02 | [diff] [blame] | 1 | // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
[email protected] | 6476c72c | 2011-02-11 18:46:19 | [diff] [blame] | 2 | // Use of this source code is governed by a BSD-style license that can be |
3 | // found in the LICENSE file. | ||||
4 | |||||
5 | // No include guard, may be included multiple times. | ||||
6 | |||||
7 | // NULL out all the macros that need NULLing, so that multiple includes of | ||||
8 | // the XXXX_messages_internal.h files will not generate noise. | ||||
[email protected] | 6766b17 | 2011-11-21 18:29:36 | [diff] [blame] | 9 | #undef IPC_STRUCT_BEGIN_WITH_PARENT |
[email protected] | 6476c72c | 2011-02-11 18:46:19 | [diff] [blame] | 10 | #undef IPC_STRUCT_MEMBER |
11 | #undef IPC_STRUCT_END | ||||
12 | #undef IPC_STRUCT_TRAITS_BEGIN | ||||
13 | #undef IPC_STRUCT_TRAITS_MEMBER | ||||
[email protected] | 94dc971d | 2011-03-05 19:08:32 | [diff] [blame] | 14 | #undef IPC_STRUCT_TRAITS_PARENT |
[email protected] | 6476c72c | 2011-02-11 18:46:19 | [diff] [blame] | 15 | #undef IPC_STRUCT_TRAITS_END |
[email protected] | dedd0a9 | 2013-06-04 07:20:32 | [diff] [blame] | 16 | #undef IPC_ENUM_TRAITS_VALIDATE |
[email protected] | d7a5e3e | 2011-03-12 16:28:36 | [diff] [blame] | 17 | #undef IPC_MESSAGE_DECL |
[email protected] | 6476c72c | 2011-02-11 18:46:19 | [diff] [blame] | 18 | |
[email protected] | 6766b17 | 2011-11-21 18:29:36 | [diff] [blame] | 19 | #define IPC_STRUCT_BEGIN_WITH_PARENT(struct_name, parent) |
[email protected] | 01cca004 | 2012-04-16 19:13:02 | [diff] [blame] | 20 | #define IPC_STRUCT_MEMBER(type, name, ...) |
[email protected] | 6476c72c | 2011-02-11 18:46:19 | [diff] [blame] | 21 | #define IPC_STRUCT_END() |
22 | #define IPC_STRUCT_TRAITS_BEGIN(struct_name) | ||||
23 | #define IPC_STRUCT_TRAITS_MEMBER(name) | ||||
[email protected] | 94dc971d | 2011-03-05 19:08:32 | [diff] [blame] | 24 | #define IPC_STRUCT_TRAITS_PARENT(type) |
[email protected] | 6476c72c | 2011-02-11 18:46:19 | [diff] [blame] | 25 | #define IPC_STRUCT_TRAITS_END() |
[email protected] | dedd0a9 | 2013-06-04 07:20:32 | [diff] [blame] | 26 | #define IPC_ENUM_TRAITS_VALIDATE(enum_name, validation_expression) |
mdempsky | 8a51904 | 2016-02-09 05:41:47 | [diff] [blame] | 27 | #define IPC_MESSAGE_DECL(...) |