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

Unified Diff: mojom/generators/c/templates/header.tmpl.go

Issue 2229573002: Change the canonical way to include the C macros.h to <mojo/macros.h>. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: 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/services/gfx/images/cpp/image_pipe_producer_endpoint.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojom/generators/c/templates/header.tmpl.go
diff --git a/mojom/generators/c/templates/header.tmpl.go b/mojom/generators/c/templates/header.tmpl.go
index d0e9b4c97b3debabfb01a33e788c5f90231cd2b6..9dad8376048620686de8ac2f2daa050cd3bdec5a 100644
--- a/mojom/generators/c/templates/header.tmpl.go
+++ b/mojom/generators/c/templates/header.tmpl.go
@@ -15,6 +15,7 @@ const GenerateHeaderFile = `
#include <assert.h>
#include <math.h>
+#include <mojo/macros.h>
#include <stdbool.h>
#include <stdint.h>
@@ -26,7 +27,6 @@ const GenerateHeaderFile = `
#include "mojo/public/c/bindings/string.h"
#include "mojo/public/c/bindings/validation.h"
#include "mojo/public/c/system/handle.h"
-#include "mojo/public/c/system/macros.h"
// Imports.
{{range $import := .Imports -}}
« no previous file with comments | « mojo/services/gfx/images/cpp/image_pipe_producer_endpoint.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698