jbates@chromium.org | d96f2ad | 2012-04-17 04:13:02 +0900 | [diff] [blame] | 1 | // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
tsepez@chromium.org | 1ac4613 | 2011-02-12 03:46:19 +0900 | [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. |
jam@chromium.org | 959e5f7 | 2011-11-22 03:29:36 +0900 | [diff] [blame] | 9 | #undef IPC_STRUCT_BEGIN_WITH_PARENT |
tsepez@chromium.org | 1ac4613 | 2011-02-12 03:46:19 +0900 | [diff] [blame] | 10 | #undef IPC_STRUCT_MEMBER |
| 11 | #undef IPC_STRUCT_END |
| 12 | #undef IPC_STRUCT_TRAITS_BEGIN |
| 13 | #undef IPC_STRUCT_TRAITS_MEMBER |
jam@chromium.org | 4ae3f56 | 2011-03-06 04:08:32 +0900 | [diff] [blame] | 14 | #undef IPC_STRUCT_TRAITS_PARENT |
tsepez@chromium.org | 1ac4613 | 2011-02-12 03:46:19 +0900 | [diff] [blame] | 15 | #undef IPC_STRUCT_TRAITS_END |
tsepez@chromium.org | 384d976 | 2013-06-04 16:20:32 +0900 | [diff] [blame] | 16 | #undef IPC_ENUM_TRAITS_VALIDATE |
tsepez@chromium.org | 7272e46 | 2011-03-13 01:28:36 +0900 | [diff] [blame] | 17 | #undef IPC_MESSAGE_DECL |
tsepez@chromium.org | 1ac4613 | 2011-02-12 03:46:19 +0900 | [diff] [blame] | 18 | |
jam@chromium.org | 959e5f7 | 2011-11-22 03:29:36 +0900 | [diff] [blame] | 19 | #define IPC_STRUCT_BEGIN_WITH_PARENT(struct_name, parent) |
jbates@chromium.org | d96f2ad | 2012-04-17 04:13:02 +0900 | [diff] [blame] | 20 | #define IPC_STRUCT_MEMBER(type, name, ...) |
tsepez@chromium.org | 1ac4613 | 2011-02-12 03:46:19 +0900 | [diff] [blame] | 21 | #define IPC_STRUCT_END() |
| 22 | #define IPC_STRUCT_TRAITS_BEGIN(struct_name) |
| 23 | #define IPC_STRUCT_TRAITS_MEMBER(name) |
jam@chromium.org | 4ae3f56 | 2011-03-06 04:08:32 +0900 | [diff] [blame] | 24 | #define IPC_STRUCT_TRAITS_PARENT(type) |
tsepez@chromium.org | 1ac4613 | 2011-02-12 03:46:19 +0900 | [diff] [blame] | 25 | #define IPC_STRUCT_TRAITS_END() |
tsepez@chromium.org | 384d976 | 2013-06-04 16:20:32 +0900 | [diff] [blame] | 26 | #define IPC_ENUM_TRAITS_VALIDATE(enum_name, validation_expression) |
tsepez@chromium.org | 7272e46 | 2011-03-13 01:28:36 +0900 | [diff] [blame] | 27 | #define IPC_MESSAGE_DECL(sync, kind, msg_class, \ |
| 28 | in_cnt, out_cnt, in_list, out_list) |
| 29 | |