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

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

Issue 1543603002: Switch to standard integer types in mojo/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 5 years 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
« no previous file with comments | « mojo/public/c/system/data_pipe.h ('k') | mojo/public/c/system/message_pipe.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 basic functions common to different Mojo system APIs. 5 // This file contains basic functions common to different Mojo system APIs.
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_FUNCTIONS_H_ 9 #ifndef MOJO_PUBLIC_C_SYSTEM_FUNCTIONS_H_
10 #define MOJO_PUBLIC_C_SYSTEM_FUNCTIONS_H_ 10 #define MOJO_PUBLIC_C_SYSTEM_FUNCTIONS_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: Pointer parameters that are labelled "optional" may be null (at least 21 // Note: Pointer parameters that are labelled "optional" may be null (at least
20 // under some circumstances). Non-const pointer parameters are also labeled 22 // under some circumstances). Non-const pointer parameters are also labeled
21 // "in", "out", or "in/out", to indicate how they are used. (Note that how/if 23 // "in", "out", or "in/out", to indicate how they are used. (Note that how/if
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 uint32_t num_handles, 127 uint32_t num_handles,
126 MojoDeadline deadline, 128 MojoDeadline deadline,
127 uint32_t* result_index, // Optional out 129 uint32_t* result_index, // Optional out
128 struct MojoHandleSignalsState* signals_states); // Optional out 130 struct MojoHandleSignalsState* signals_states); // Optional out
129 131
130 #ifdef __cplusplus 132 #ifdef __cplusplus
131 } // extern "C" 133 } // extern "C"
132 #endif 134 #endif
133 135
134 #endif // MOJO_PUBLIC_C_SYSTEM_FUNCTIONS_H_ 136 #endif // MOJO_PUBLIC_C_SYSTEM_FUNCTIONS_H_
OLDNEW
« no previous file with comments | « mojo/public/c/system/data_pipe.h ('k') | mojo/public/c/system/message_pipe.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698