Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: mojo/public/c/system/types.h

Issue 1410053006: Move third_party/mojo/src/mojo/public to mojo/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file contains types and constants/macros common to different Mojo system 5 // This file contains types and constants/macros common to different Mojo system
6 // APIs. 6 // APIs.
7 // 7 //
8 // Note: This header should be compilable as C. 8 // Note: This header should be compilable as C.
9 9
10 #ifndef MOJO_PUBLIC_C_SYSTEM_TYPES_H_ 10 #ifndef MOJO_PUBLIC_C_SYSTEM_TYPES_H_
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 // 32-bit-aligned. 176 // 32-bit-aligned.
177 MOJO_STATIC_ASSERT(MOJO_ALIGNOF(int32_t) == 4, "int32_t has weird alignment"); 177 MOJO_STATIC_ASSERT(MOJO_ALIGNOF(int32_t) == 4, "int32_t has weird alignment");
178 struct MOJO_ALIGNAS(4) MojoHandleSignalsState { 178 struct MOJO_ALIGNAS(4) MojoHandleSignalsState {
179 MojoHandleSignals satisfied_signals; 179 MojoHandleSignals satisfied_signals;
180 MojoHandleSignals satisfiable_signals; 180 MojoHandleSignals satisfiable_signals;
181 }; 181 };
182 MOJO_STATIC_ASSERT(sizeof(MojoHandleSignalsState) == 8, 182 MOJO_STATIC_ASSERT(sizeof(MojoHandleSignalsState) == 8,
183 "MojoHandleSignalsState has wrong size"); 183 "MojoHandleSignalsState has wrong size");
184 184
185 #endif // MOJO_PUBLIC_C_SYSTEM_TYPES_H_ 185 #endif // MOJO_PUBLIC_C_SYSTEM_TYPES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698