diff options
Diffstat (limited to 'mojo/public/system/core.h')
-rw-r--r-- | mojo/public/system/core.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/mojo/public/system/core.h b/mojo/public/system/core.h index dc71ae2..8d4cb02 100644 --- a/mojo/public/system/core.h +++ b/mojo/public/system/core.h @@ -406,8 +406,8 @@ MOJO_SYSTEM_EXPORT MojoResult MojoReadMessage(MojoHandle message_pipe_handle, MOJO_SYSTEM_EXPORT MojoResult MojoCreateDataPipe( const struct MojoCreateDataPipeOptions* options, - MojoHandle* producer_handle, - MojoHandle* consumer_handle); + MojoHandle* data_pipe_producer_handle, + MojoHandle* data_pipe_consumer_handle); MOJO_SYSTEM_EXPORT MojoResult MojoWriteData( MojoHandle data_pipe_producer_handle, @@ -415,6 +415,11 @@ MOJO_SYSTEM_EXPORT MojoResult MojoWriteData( uint32_t* num_elements, MojoWriteDataFlags flags); +// TODO(vtl): Note to self: |buffer_num_elements| is an "in-out" parameter: +// on the "in" side, |*buffer_num_elements| is the number requested; on success, +// on the "out" side, it's the number available (which may be GREATER or LESS +// than the number requested; if the "all-or-nothing" flag is set, it's AT LEAST +// the number requested). MOJO_SYSTEM_EXPORT MojoResult MojoBeginWriteData( MojoHandle data_pipe_producer_handle, void** buffer, |