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

Unified Diff: mojo/public/c/system/wait_set.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/message_pipe.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/c/system/wait_set.h
diff --git a/mojo/public/c/system/wait_set.h b/mojo/public/c/system/wait_set.h
index d79ff3173e49d0ae69041ee1690daee3f5f49e2b..5ea88af2bc08a3d729d75aa3ef59a276d4231c91 100644
--- a/mojo/public/c/system/wait_set.h
+++ b/mojo/public/c/system/wait_set.h
@@ -29,7 +29,7 @@ struct MOJO_ALIGNAS(8) MojoCreateWaitSetOptions {
uint32_t struct_size;
MojoCreateWaitSetOptionsFlags flags;
};
-MOJO_STATIC_ASSERT(sizeof(MojoCreateWaitSetOptions) == 8,
+MOJO_STATIC_ASSERT(sizeof(struct MojoCreateWaitSetOptions) == 8,
"MojoCreateWaitSetOptions has wrong size");
// |MojoWaitSetAddOptions|: Used to specify parameters in adding an entry to a
@@ -48,7 +48,7 @@ struct MOJO_ALIGNAS(8) MojoWaitSetAddOptions {
uint32_t struct_size;
MojoWaitSetAddOptionsFlags flags;
};
-MOJO_STATIC_ASSERT(sizeof(MojoWaitSetAddOptions) == 8,
+MOJO_STATIC_ASSERT(sizeof(struct MojoWaitSetAddOptions) == 8,
"MojoWaitSetAddOptions has wrong size");
// |MojoWaitSetResult|: Returned by |MojoWaitSetWait()| to indicate the state of
@@ -61,7 +61,7 @@ struct MOJO_ALIGNAS(8) MojoWaitSetResult {
MojoHandleSignals satisfied_signals;
MojoHandleSignals satisfiable_signals;
};
-MOJO_STATIC_ASSERT(sizeof(MojoWaitSetResult) == 24,
+MOJO_STATIC_ASSERT(sizeof(struct MojoWaitSetResult) == 24,
"MojoWaitSetResult has wrong size");
MOJO_BEGIN_EXTERN_C
« no previous file with comments | « mojo/public/c/system/message_pipe.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698