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

Unified Diff: include/c/sk_surface.h

Issue 670303005: Compiling Go against C interface (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fixed typo Created 6 years, 2 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 | « experimental/go-skia/skia.go ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/c/sk_surface.h
diff --git a/include/c/sk_surface.h b/include/c/sk_surface.h
index 960c331d2d171a87dc01ac92339ca0ae6b1886fc..5fcf9ddd416bc007ba9c92195d2a603e43e10883 100644
--- a/include/c/sk_surface.h
+++ b/include/c/sk_surface.h
@@ -14,6 +14,10 @@
#include <stdint.h>
#include <stddef.h>
+#ifndef __cplusplus
+#include <stdbool.h>
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif
« no previous file with comments | « experimental/go-skia/skia.go ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698