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

Unified Diff: mojo/public/c/lib/bindings/struct.c

Issue 2232833003: Change the canonical way to include the C bindings headers to <mojo/bindings/*.h>. (Closed) Base URL: https://github.com/domokit/mojo.git@work791_mojo_tests
Patch Set: rebased Created 4 years, 4 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/lib/bindings/message.c ('k') | mojo/public/c/lib/bindings/type_descriptor.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/c/lib/bindings/struct.c
diff --git a/mojo/public/c/bindings/lib/struct.c b/mojo/public/c/lib/bindings/struct.c
similarity index 97%
rename from mojo/public/c/bindings/lib/struct.c
rename to mojo/public/c/lib/bindings/struct.c
index 611bfa73bafad09aa96e9b17273361d5732912c2..d678dff544bb1b380150cbf1775877ace2699b1a 100644
--- a/mojo/public/c/bindings/lib/struct.c
+++ b/mojo/public/c/lib/bindings/struct.c
@@ -2,14 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "mojo/public/c/bindings/struct.h"
+#include <mojo/bindings/struct.h>
#include <assert.h>
+#include <mojo/bindings/internal/type_descriptor.h>
+#include <mojo/bindings/union.h>
#include <string.h>
-#include "mojo/public/c/bindings/lib/type_descriptor.h"
-#include "mojo/public/c/bindings/union.h"
-
size_t MojomStruct_ComputeSerializedSize(
const struct MojomTypeDescriptorStruct* in_type_desc,
const struct MojomStructHeader* in_struct) {
« no previous file with comments | « mojo/public/c/lib/bindings/message.c ('k') | mojo/public/c/lib/bindings/type_descriptor.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698