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

Unified Diff: mojo/go/c_embedder/c_embedder.h

Issue 556813003: Add Go build support for GN. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: brettw feedback Created 6 years, 3 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: mojo/go/c_embedder/c_embedder.h
diff --git a/mojo/go/c_embedder/c_embedder.h b/mojo/go/c_embedder/c_embedder.h
new file mode 100644
index 0000000000000000000000000000000000000000..f2961d63cd610e1e3efdf371aea91c197e3b7ea0
--- /dev/null
+++ b/mojo/go/c_embedder/c_embedder.h
@@ -0,0 +1,18 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef MOJO_GO_C_EMBEDDER_C_EMBEDDER_H_
+#define MOJO_GO_C_EMBEDDER_C_EMBEDDER_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+__attribute__((visibility("default"))) void InitializeMojoEmbedder();
+
+#ifdef __cplusplus
+} // extern "C"
+#endif
+
+#endif // MOJO_GO_C_EMBEDDER_C_EMBEDDER_H__
« build/go/rules.gni ('K') | « mojo/go/BUILD.gn ('k') | mojo/go/c_embedder/c_embedder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698