blob: 5a1ff4f4fa73a920a3f54d38a478156ec7011e3d [file] [log] [blame]
jbates@chromium.orgd96f2ad2012-04-17 04:13:02 +09001// Copyright (c) 2012 The Chromium Authors. All rights reserved.
tsepez@chromium.org1ac46132011-02-12 03:46:19 +09002// 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.org959e5f72011-11-22 03:29:36 +09009#undef IPC_STRUCT_BEGIN_WITH_PARENT
tsepez@chromium.org1ac46132011-02-12 03:46:19 +090010#undef IPC_STRUCT_MEMBER
11#undef IPC_STRUCT_END
12#undef IPC_STRUCT_TRAITS_BEGIN
13#undef IPC_STRUCT_TRAITS_MEMBER
jam@chromium.org4ae3f562011-03-06 04:08:32 +090014#undef IPC_STRUCT_TRAITS_PARENT
tsepez@chromium.org1ac46132011-02-12 03:46:19 +090015#undef IPC_STRUCT_TRAITS_END
tsepez@chromium.org384d9762013-06-04 16:20:32 +090016#undef IPC_ENUM_TRAITS_VALIDATE
tsepez@chromium.org7272e462011-03-13 01:28:36 +090017#undef IPC_MESSAGE_DECL
tsepez@chromium.org1ac46132011-02-12 03:46:19 +090018
jam@chromium.org959e5f72011-11-22 03:29:36 +090019#define IPC_STRUCT_BEGIN_WITH_PARENT(struct_name, parent)
jbates@chromium.orgd96f2ad2012-04-17 04:13:02 +090020#define IPC_STRUCT_MEMBER(type, name, ...)
tsepez@chromium.org1ac46132011-02-12 03:46:19 +090021#define IPC_STRUCT_END()
22#define IPC_STRUCT_TRAITS_BEGIN(struct_name)
23#define IPC_STRUCT_TRAITS_MEMBER(name)
jam@chromium.org4ae3f562011-03-06 04:08:32 +090024#define IPC_STRUCT_TRAITS_PARENT(type)
tsepez@chromium.org1ac46132011-02-12 03:46:19 +090025#define IPC_STRUCT_TRAITS_END()
tsepez@chromium.org384d9762013-06-04 16:20:32 +090026#define IPC_ENUM_TRAITS_VALIDATE(enum_name, validation_expression)
tsepez@chromium.org7272e462011-03-13 01:28:36 +090027#define IPC_MESSAGE_DECL(sync, kind, msg_class, \
28 in_cnt, out_cnt, in_list, out_list)
29