ipc_message_null_macros.h 1004 B

123456789101112131415161718192021222324252627
  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. // No include guard, may be included multiple times.
  5. // NULL out all the macros that need NULLing, so that multiple includes of
  6. // the XXXX_messages_internal.h files will not generate noise.
  7. #undef IPC_STRUCT_BEGIN_WITH_PARENT
  8. #undef IPC_STRUCT_MEMBER
  9. #undef IPC_STRUCT_END
  10. #undef IPC_STRUCT_TRAITS_BEGIN
  11. #undef IPC_STRUCT_TRAITS_MEMBER
  12. #undef IPC_STRUCT_TRAITS_PARENT
  13. #undef IPC_STRUCT_TRAITS_END
  14. #undef IPC_ENUM_TRAITS_VALIDATE
  15. #undef IPC_MESSAGE_DECL
  16. #define IPC_STRUCT_BEGIN_WITH_PARENT(struct_name, parent)
  17. #define IPC_STRUCT_MEMBER(type, name, ...)
  18. #define IPC_STRUCT_END()
  19. #define IPC_STRUCT_TRAITS_BEGIN(struct_name)
  20. #define IPC_STRUCT_TRAITS_MEMBER(name)
  21. #define IPC_STRUCT_TRAITS_PARENT(type)
  22. #define IPC_STRUCT_TRAITS_END()
  23. #define IPC_ENUM_TRAITS_VALIDATE(enum_name, validation_expression)
  24. #define IPC_MESSAGE_DECL(...)