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

Unified Diff: mojo/public/c/system/data_pipe.h

Issue 2062323002: Mojo C bindings library pt1: MojomBuffer (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: MojomBuffer_Allocate(0) succeeds Created 4 years, 6 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/public/c/system/buffer.h ('k') | mojo/public/c/system/handle.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/c/system/data_pipe.h
diff --git a/mojo/public/c/system/data_pipe.h b/mojo/public/c/system/data_pipe.h
index 64416957a68643fea5406e33f1054a6c1c84f1f8..1d16f39a40af0c08845ae7622350d5edbb618cb1 100644
--- a/mojo/public/c/system/data_pipe.h
+++ b/mojo/public/c/system/data_pipe.h
@@ -41,7 +41,7 @@ struct MOJO_ALIGNAS(8) MojoCreateDataPipeOptions {
uint32_t element_num_bytes;
uint32_t capacity_num_bytes;
};
-MOJO_STATIC_ASSERT(sizeof(MojoCreateDataPipeOptions) == 16,
+MOJO_STATIC_ASSERT(sizeof(struct MojoCreateDataPipeOptions) == 16,
"MojoCreateDataPipeOptions has wrong size");
// |MojoDataPipeProducerOptions|: Used to specify data pipe producer options (to
@@ -60,7 +60,7 @@ struct MOJO_ALIGNAS(8) MojoDataPipeProducerOptions {
uint32_t struct_size;
uint32_t write_threshold_num_bytes;
};
-MOJO_STATIC_ASSERT(sizeof(MojoDataPipeProducerOptions) == 8,
+MOJO_STATIC_ASSERT(sizeof(struct MojoDataPipeProducerOptions) == 8,
"MojoDataPipeProducerOptions has wrong size");
// |MojoWriteDataFlags|: Used to specify different modes to |MojoWriteData()|
@@ -95,7 +95,7 @@ struct MOJO_ALIGNAS(8) MojoDataPipeConsumerOptions {
uint32_t struct_size;
uint32_t read_threshold_num_bytes;
};
-MOJO_STATIC_ASSERT(sizeof(MojoDataPipeConsumerOptions) == 8,
+MOJO_STATIC_ASSERT(sizeof(struct MojoDataPipeConsumerOptions) == 8,
"MojoDataPipeConsumerOptions has wrong size");
// |MojoReadDataFlags|: Used to specify different modes to |MojoReadData()| and
« no previous file with comments | « mojo/public/c/system/buffer.h ('k') | mojo/public/c/system/handle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698