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

Unified Diff: mojom/generators/c/cgen/header.go

Issue 2072903002: C bindings pt3: Type table definitions and barebones files to get generated code to compile. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: elem_table -> elem_descriptor 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
Index: mojom/generators/c/cgen/header.go
diff --git a/mojom/generators/c/cgen/header.go b/mojom/generators/c/cgen/header.go
index 4814c5cdba7bc93960cfbe8196f273b3159e24af..339f72387c55b3020662670065af4dde41c1bdca 100644
--- a/mojom/generators/c/cgen/header.go
+++ b/mojom/generators/c/cgen/header.go
@@ -189,7 +189,7 @@ func resolveValue(fileGraph *mojom_files.MojomFileGraph, value mojom_types.Value
func NewConstantTemplate(fileGraph *mojom_files.MojomFileGraph, mojomConstant mojom_types.DeclaredConstant) ConstantTemplate {
var type_text string
switch mojomConstant.Type.(type) {
- // We can't type string constants as a 'union MojomStringPtr' since it
+ // We can't type string constants as a 'union MojomStringHeaderPtr' since it
// involves some setup and prevents immediate consumption. const char* should
// suffice.
case *mojom_types.TypeStringType:
« no previous file with comments | « mojo/public/tools/bindings/mojom_tool/bin/mac64/generators/c.sha1 ('k') | mojom/generators/c/cgen/type_table.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698