| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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/constants and functions specific to wait sets. | 5 // This file contains types/constants and functions specific to wait sets. |
| 6 // | 6 // |
| 7 // Note: This header should be compilable as C. | 7 // Note: This header should be compilable as C. |
| 8 | 8 |
| 9 #ifndef MOJO_PUBLIC_C_SYSTEM_WAIT_SET_H_ | 9 #ifndef MOJO_PUBLIC_C_SYSTEM_WAIT_SET_H_ |
| 10 #define MOJO_PUBLIC_C_SYSTEM_WAIT_SET_H_ | 10 #define MOJO_PUBLIC_C_SYSTEM_WAIT_SET_H_ |
| 11 | 11 |
| 12 #include <stdint.h> |
| 13 |
| 12 #include "mojo/public/c/system/system_export.h" | 14 #include "mojo/public/c/system/system_export.h" |
| 13 #include "mojo/public/c/system/types.h" | 15 #include "mojo/public/c/system/types.h" |
| 14 | 16 |
| 15 #ifdef __cplusplus | 17 #ifdef __cplusplus |
| 16 extern "C" { | 18 extern "C" { |
| 17 #endif | 19 #endif |
| 18 | 20 |
| 19 // Note: See the comment in functions.h about the meaning of the "optional" | 21 // Note: See the comment in functions.h about the meaning of the "optional" |
| 20 // label for pointer parameters. | 22 // label for pointer parameters. |
| 21 | 23 |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 uint32_t* count, // In/out. | 128 uint32_t* count, // In/out. |
| 127 MojoHandle* handles, // Out. | 129 MojoHandle* handles, // Out. |
| 128 MojoResult* results, // Out. | 130 MojoResult* results, // Out. |
| 129 struct MojoHandleSignalsState *signals_states); // Optional out. | 131 struct MojoHandleSignalsState *signals_states); // Optional out. |
| 130 | 132 |
| 131 #ifdef __cplusplus | 133 #ifdef __cplusplus |
| 132 } // extern "C" | 134 } // extern "C" |
| 133 #endif | 135 #endif |
| 134 | 136 |
| 135 #endif // MOJO_PUBLIC_C_SYSTEM_WAIT_SET_H_ | 137 #endif // MOJO_PUBLIC_C_SYSTEM_WAIT_SET_H_ |
| OLD | NEW |