summaryrefslogtreecommitdiff
path: root/Examples/go/callback/index.html
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2015-08-09 07:31:09 -0700
committerIan Lance Taylor <iant@golang.org>2015-08-09 07:31:09 -0700
commit01edfef3b8bd63ad9041b8da9525e0dfb6b2101a (patch)
treef38c017e1731d32ca4eb5d74a466a251e7f93fca /Examples/go/callback/index.html
parent19a20c794bea67fb7e3530da362473c05cf87cad (diff)
parent608ef60ecf7774533b3344622be5b8df64bf133e (diff)
downloadswig-01edfef3b8bd63ad9041b8da9525e0dfb6b2101a.tar.gz
Merge pull request #493 from michael-schaller/dir-examples
[Go] Undelete and updated the 'callback' and 'extend' examples.
Diffstat (limited to 'Examples/go/callback/index.html')
-rw-r--r--Examples/go/callback/index.html31
1 files changed, 31 insertions, 0 deletions
diff --git a/Examples/go/callback/index.html b/Examples/go/callback/index.html
new file mode 100644
index 000000000..9a53065b0
--- /dev/null
+++ b/Examples/go/callback/index.html
@@ -0,0 +1,31 @@
+<html>
+<head>
+<title>SWIG:Examples:go:callback</title>
+</head>
+
+<body bgcolor="#ffffff">
+
+
+<tt>SWIG/Examples/go/callback/</tt>
+<hr>
+
+<H2>Implementing C++ callbacks in Go</H2>
+
+<p>
+This example illustrates how to use directors to implement C++ callbacks in Go.
+See the <a href="../../../Doc/Manual/Go.html#Go_director_classes">Go Director
+Classes</a> documentation subsection for an in-depth explanation how to use the
+director feature.
+</p>
+
+<p>
+<ul>
+<li><a href="example.h">example.h</a>. Header with the definition of the Caller and Callback classes.
+<li><a href="example.i">example.i</a>. SWIG interface file.
+<li><a href="gocallback.go">gocallback.go</a>. Go source with the definition of the GoCallback class.
+<li><a href="runme.go">runme.go</a>. Sample Go program.
+</ul>
+
+<hr>
+</body>
+</html>