diff options
author | Ian Lance Taylor <iant@golang.org> | 2015-08-09 07:31:09 -0700 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2015-08-09 07:31:09 -0700 |
commit | 01edfef3b8bd63ad9041b8da9525e0dfb6b2101a (patch) | |
tree | f38c017e1731d32ca4eb5d74a466a251e7f93fca /Examples/go/callback/index.html | |
parent | 19a20c794bea67fb7e3530da362473c05cf87cad (diff) | |
parent | 608ef60ecf7774533b3344622be5b8df64bf133e (diff) | |
download | swig-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.html | 31 |
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> |