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

Unified Diff: mojo/public/c/lib/bindings/array.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/include/mojo/bindings/validation.h ('k') | mojo/public/c/lib/bindings/buffer.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/c/lib/bindings/array.c
diff --git a/mojo/public/c/bindings/lib/array.c b/mojo/public/c/lib/bindings/array.c
similarity index 96%
rename from mojo/public/c/bindings/lib/array.c
rename to mojo/public/c/lib/bindings/array.c
index 53e50c46f5264aae236444525b940d07ca3b0d90..84b808c17a530f5b89c75120552c85eea4f47b14 100644
--- a/mojo/public/c/bindings/lib/array.c
+++ b/mojo/public/c/lib/bindings/array.c
@@ -2,19 +2,18 @@
// 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/array.h"
+#include <mojo/bindings/array.h>
#include <assert.h>
+#include <mojo/bindings/buffer.h>
+#include <mojo/bindings/interface.h>
+#include <mojo/bindings/internal/type_descriptor.h>
+#include <mojo/bindings/internal/util.h>
+#include <mojo/bindings/union.h>
#include <stddef.h>
#include <stdint.h>
#include <string.h>
-#include "mojo/public/c/bindings/buffer.h"
-#include "mojo/public/c/bindings/interface.h"
-#include "mojo/public/c/bindings/lib/type_descriptor.h"
-#include "mojo/public/c/bindings/lib/util.h"
-#include "mojo/public/c/bindings/union.h"
-
struct MojomArrayHeader* MojomArray_New(struct MojomBuffer* buf,
uint32_t num_elements,
uint32_t element_byte_size) {
« no previous file with comments | « mojo/public/c/include/mojo/bindings/validation.h ('k') | mojo/public/c/lib/bindings/buffer.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698