Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 1 | // Copyright (c) 2012 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 | // 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. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 9 | #undef IPC_STRUCT_BEGIN_WITH_PARENT |
| 10 | #undef IPC_STRUCT_MEMBER |
| 11 | #undef IPC_STRUCT_END |
| 12 | #undef IPC_STRUCT_TRAITS_BEGIN |
| 13 | #undef IPC_STRUCT_TRAITS_MEMBER |
| 14 | #undef IPC_STRUCT_TRAITS_PARENT |
| 15 | #undef IPC_STRUCT_TRAITS_END |
Torne (Richard Coles) | 868fa2f | 2013-06-11 10:57:03 +0100 | [diff] [blame] | 16 | #undef IPC_ENUM_TRAITS_VALIDATE |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 17 | #undef IPC_MESSAGE_DECL |
| 18 | |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 19 | #define IPC_STRUCT_BEGIN_WITH_PARENT(struct_name, parent) |
| 20 | #define IPC_STRUCT_MEMBER(type, name, ...) |
| 21 | #define IPC_STRUCT_END() |
| 22 | #define IPC_STRUCT_TRAITS_BEGIN(struct_name) |
| 23 | #define IPC_STRUCT_TRAITS_MEMBER(name) |
| 24 | #define IPC_STRUCT_TRAITS_PARENT(type) |
| 25 | #define IPC_STRUCT_TRAITS_END() |
Torne (Richard Coles) | 868fa2f | 2013-06-11 10:57:03 +0100 | [diff] [blame] | 26 | #define IPC_ENUM_TRAITS_VALIDATE(enum_name, validation_expression) |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 27 | #define IPC_MESSAGE_DECL(sync, kind, msg_class, \ |
| 28 | in_cnt, out_cnt, in_list, out_list) |
| 29 | |