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

Side by Side Diff: mojo/public/c/include/mojo/bindings/validation.h

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 unified diff | Download patch
« no previous file with comments | « mojo/public/c/include/mojo/bindings/union.h ('k') | mojo/public/c/lib/bindings/array.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MOJO_PUBLIC_C_BINDINGS_VALIDATION_H_ 5 #ifndef MOJO_PUBLIC_C_INCLUDE_MOJO_BINDINGS_VALIDATION_H_
6 #define MOJO_PUBLIC_C_BINDINGS_VALIDATION_H_ 6 #define MOJO_PUBLIC_C_INCLUDE_MOJO_BINDINGS_VALIDATION_H_
7 7
8 #include <mojo/macros.h> 8 #include <mojo/macros.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
11 MOJO_BEGIN_EXTERN_C 11 MOJO_BEGIN_EXTERN_C
12 12
13 // One of MOJOM_VALIDATION_* codes; See below. 13 // One of MOJOM_VALIDATION_* codes; See below.
14 typedef uint32_t MojomValidationResult; 14 typedef uint32_t MojomValidationResult;
15 15
16 // No error; successful validation. 16 // No error; successful validation.
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 ((MojomValidationResult)11) 53 ((MojomValidationResult)11)
54 // Two parallel arrays which are supposed to represent a map have different 54 // Two parallel arrays which are supposed to represent a map have different
55 // lengths. 55 // lengths.
56 #define MOJOM_VALIDATION_DIFFERENT_SIZED_ARRAYS_IN_MAP \ 56 #define MOJOM_VALIDATION_DIFFERENT_SIZED_ARRAYS_IN_MAP \
57 ((MojomValidationResult)12) 57 ((MojomValidationResult)12)
58 // A non-nullable union is set to null. (Has size 0) 58 // A non-nullable union is set to null. (Has size 0)
59 #define MOJOM_VALIDATION_UNEXPECTED_NULL_UNION ((MojomValidationResult)13) 59 #define MOJOM_VALIDATION_UNEXPECTED_NULL_UNION ((MojomValidationResult)13)
60 60
61 MOJO_END_EXTERN_C 61 MOJO_END_EXTERN_C
62 62
63 #endif // MOJO_PUBLIC_C_BINDINGS_VALIDATION_H_ 63 #endif // MOJO_PUBLIC_C_INCLUDE_MOJO_BINDINGS_VALIDATION_H_
OLDNEW
« no previous file with comments | « mojo/public/c/include/mojo/bindings/union.h ('k') | mojo/public/c/lib/bindings/array.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698