| Index: mojo/edk/embedder/entrypoints.cc
|
| diff --git a/mojo/edk/embedder/entrypoints.cc b/mojo/edk/embedder/entrypoints.cc
|
| index 875f1cfecc61ca2a0f02f2c85554e4558509af09..44c1e2293cb15a2408d07e242f2e3d964daab8a2 100644
|
| --- a/mojo/edk/embedder/entrypoints.cc
|
| +++ b/mojo/edk/embedder/entrypoints.cc
|
| @@ -84,6 +84,21 @@ MojoResult MojoCreateDataPipe(const MojoCreateDataPipeOptions* options,
|
| MakeUserPointer(data_pipe_consumer_handle));
|
| }
|
|
|
| +MojoResult MojoSetDataPipeProducerOptions(
|
| + MojoHandle data_pipe_producer_handle,
|
| + const struct MojoDataPipeProducerOptions* options) {
|
| + return g_core->SetDataPipeProducerOptions(data_pipe_producer_handle,
|
| + MakeUserPointer(options));
|
| +}
|
| +
|
| +MojoResult MojoGetDataPipeProducerOptions(
|
| + MojoHandle data_pipe_producer_handle,
|
| + struct MojoDataPipeProducerOptions* options,
|
| + uint32_t options_num_bytes) {
|
| + return g_core->GetDataPipeProducerOptions(
|
| + data_pipe_producer_handle, MakeUserPointer(options), options_num_bytes);
|
| +}
|
| +
|
| MojoResult MojoWriteData(MojoHandle data_pipe_producer_handle,
|
| const void* elements,
|
| uint32_t* num_elements,
|
|
|