Fleshed out Go's documentation about the director feature and added a director example.
Fixes issues #418.
This commit is contained in:
parent
5d363276f5
commit
a17c9727bd
8 changed files with 741 additions and 25 deletions
28
Examples/go/director/index.html
Normal file
28
Examples/go/director/index.html
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>SWIG:Examples:go:director</title>
|
||||
</head>
|
||||
|
||||
<body bgcolor="#ffffff">
|
||||
|
||||
<tt>SWIG/Examples/go/director/</tt>
|
||||
<hr>
|
||||
|
||||
<H2>How to subclass a C++ class with a Go type</H2>
|
||||
|
||||
<p>
|
||||
See the <a href="../../../Doc/Manual/Go.html#Go_director_classes">Go Director
|
||||
Classes</a> documentation subsection for an explanation of this example.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<ul>
|
||||
<li><a href="director.go">director.go</a>. Go source with the definition of the FooBarGo class.
|
||||
<li><a href="director.h">director.h</a>. Header with the definition of the FooBarAbs and FooBarCpp classes.
|
||||
<li><a href="example.i">example.i</a>. SWIG interface file.
|
||||
<li><a href="runme.go">runme.go</a>. Sample Go program.
|
||||
</ul>
|
||||
|
||||
<hr>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue