diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2019-02-10 01:03:06 +0000 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2019-02-10 01:03:06 +0000 |
commit | 940e32477dba502a98477960d5a0d1385f7e2edb (patch) | |
tree | af56ad2dc60b187bad87450c6ef6dedbd4eef27c /Doc/Manual/Go.html | |
parent | 24682a724302b70d3b363fbbe0125ab0c53384b6 (diff) | |
download | swig-940e32477dba502a98477960d5a0d1385f7e2edb.tar.gz |
Update section numbering
Diffstat (limited to 'Doc/Manual/Go.html')
-rw-r--r-- | Doc/Manual/Go.html | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/Doc/Manual/Go.html b/Doc/Manual/Go.html index 3b8d872ae..8523f74aa 100644 --- a/Doc/Manual/Go.html +++ b/Doc/Manual/Go.html @@ -6,7 +6,7 @@ <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body bgcolor="#FFFFFF"> -<H1><a name="Go">25 SWIG and Go</a></H1> +<H1><a name="Go">23 SWIG and Go</a></H1> <!-- INDEX --> <div class="sectiontoc"> <ul> @@ -57,7 +57,7 @@ the Go programming language see <a href="http://golang.org/">golang.org</a>. </p> -<H2><a name="Go_overview">25.1 Overview</a></H2> +<H2><a name="Go_overview">23.1 Overview</a></H2> <p> @@ -86,7 +86,7 @@ type-safe as well. In case of type issues the build will fail and hence SWIG's are not used. </p> -<H2><a name="Go_examples">25.2 Examples</a></H2> +<H2><a name="Go_examples">23.2 Examples</a></H2> <p> @@ -101,7 +101,7 @@ SWIG interface file extension for backwards compatibility with Go 1. </p> -<H2><a name="Go_running_swig">25.3 Running SWIG with Go</a></H2> +<H2><a name="Go_running_swig">23.3 Running SWIG with Go</a></H2> <p> @@ -181,7 +181,7 @@ sequence for this approach would look like this: </pre></div> -<H3><a name="Go_commandline">25.3.1 Go-specific Commandline Options</a></H3> +<H3><a name="Go_commandline">23.3.1 Go-specific Commandline Options</a></H3> <p> @@ -264,7 +264,7 @@ swig -go -help </table> -<H3><a name="Go_outputs">25.3.2 Generated Wrapper Files</a></H3> +<H3><a name="Go_outputs">23.3.2 Generated Wrapper Files</a></H3> <p>There are two different approaches to generating wrapper files, @@ -308,7 +308,7 @@ combined with the compiled MODULE.go using go tool pack. </ul> -<H2><a name="Go_basic_tour">25.4 A tour of basic C/C++ wrapping</a></H2> +<H2><a name="Go_basic_tour">23.4 A tour of basic C/C++ wrapping</a></H2> <p> @@ -318,7 +318,7 @@ modifications have to occur. This section briefly covers the essential aspects of this wrapping. </p> -<H3><a name="Go_package">25.4.1 Go Package Name</a></H3> +<H3><a name="Go_package">23.4.1 Go Package Name</a></H3> <p> @@ -328,7 +328,7 @@ directive. You may override this by using SWIG's <tt>-package</tt> command line option. </p> -<H3><a name="Go_names">25.4.2 Go Names</a></H3> +<H3><a name="Go_names">23.4.2 Go Names</a></H3> <p> @@ -360,7 +360,7 @@ followed by that name, and the destructor will be named <tt>Delete</tt> followed by that name. </p> -<H3><a name="Go_constants">25.4.3 Go Constants</a></H3> +<H3><a name="Go_constants">23.4.3 Go Constants</a></H3> <p> @@ -368,7 +368,7 @@ C/C++ constants created via <tt>#define</tt> or the <tt>%constant</tt> directive become Go constants, declared with a <tt>const</tt> declaration. -<H3><a name="Go_enumerations">25.4.4 Go Enumerations</a></H3> +<H3><a name="Go_enumerations">23.4.4 Go Enumerations</a></H3> <p> @@ -378,7 +378,7 @@ usual). The values of the enumeration will become variables in Go; code should avoid modifying those variables. </p> -<H3><a name="Go_classes">25.4.5 Go Classes</a></H3> +<H3><a name="Go_classes">23.4.5 Go Classes</a></H3> <p> @@ -456,7 +456,7 @@ returns a go interface. If the returned pointer can be null, you can check for this by calling the Swigcptr() method. </p> -<H4><a name="Go_class_memory">25.4.5.1 Go Class Memory Management</a></H4> +<H4><a name="Go_class_memory">23.4.5.1 Go Class Memory Management</a></H4> <p> @@ -578,7 +578,7 @@ func (o *GoClassName) Close() { </pre> </div> -<H4><a name="Go_class_inheritance">25.4.5.2 Go Class Inheritance</a></H4> +<H4><a name="Go_class_inheritance">23.4.5.2 Go Class Inheritance</a></H4> <p> @@ -590,7 +590,7 @@ Doing the reverse will require an explicit type assertion, which will be checked dynamically. </p> -<H3><a name="Go_templates">25.4.6 Go Templates</a></H3> +<H3><a name="Go_templates">23.4.6 Go Templates</a></H3> <p> @@ -599,7 +599,7 @@ wrappers for a particular template instantation. To do this, use the <tt>%template</tt> directive. -<H3><a name="Go_director_classes">25.4.7 Go Director Classes</a></H3> +<H3><a name="Go_director_classes">23.4.7 Go Director Classes</a></H3> <p> @@ -617,7 +617,7 @@ completely to avoid common pitfalls with directors in Go. </p> -<H4><a name="Go_director_example_cpp_code">25.4.7.1 Example C++ code</a></H4> +<H4><a name="Go_director_example_cpp_code">23.4.7.1 Example C++ code</a></H4> <p> @@ -689,7 +689,7 @@ be found in <a href="#Go_director_foobargo_class">the end of the guide</a>. </p> -<H4><a name="Go_director_enable">25.4.7.2 Enable director feature</a></H4> +<H4><a name="Go_director_enable">23.4.7.2 Enable director feature</a></H4> <p> @@ -724,7 +724,7 @@ documentation on directors. </p> -<H4><a name="Go_director_ctor_dtor">25.4.7.3 Constructor and destructor</a></H4> +<H4><a name="Go_director_ctor_dtor">23.4.7.3 Constructor and destructor</a></H4> <p> @@ -777,7 +777,7 @@ embedding</a>. </p> -<H4><a name="Go_director_overriding">25.4.7.4 Override virtual methods</a></H4> +<H4><a name="Go_director_overriding">23.4.7.4 Override virtual methods</a></H4> <p> @@ -843,7 +843,7 @@ the Go methods. </p> -<H4><a name="Go_director_base_methods">25.4.7.5 Call base methods</a></H4> +<H4><a name="Go_director_base_methods">23.4.7.5 Call base methods</a></H4> <p> @@ -880,7 +880,7 @@ be found in <a href="#Go_director_foobargo_class">the end of the guide</a>. </p> -<H4><a name="Go_director_subclass">25.4.7.6 Subclass via embedding</a></H4> +<H4><a name="Go_director_subclass">23.4.7.6 Subclass via embedding</a></H4> <p> @@ -948,7 +948,7 @@ class. </p> -<H4><a name="Go_director_finalizer">25.4.7.7 Memory management with runtime.SetFinalizer</a></H4> +<H4><a name="Go_director_finalizer">23.4.7.7 Memory management with runtime.SetFinalizer</a></H4> <p> @@ -1013,7 +1013,7 @@ before using <tt>runtime.SetFinalizer</tt> to know all of its gotchas. </p> -<H4><a name="Go_director_foobargo_class">25.4.7.8 Complete FooBarGo example class</a></H4> +<H4><a name="Go_director_foobargo_class">23.4.7.8 Complete FooBarGo example class</a></H4> <p> @@ -1142,7 +1142,7 @@ SWIG/Examples/go/director/</a>. </p> -<H3><a name="Go_primitive_type_mappings">25.4.8 Default Go primitive type mappings</a></H3> +<H3><a name="Go_primitive_type_mappings">23.4.8 Default Go primitive type mappings</a></H3> <p> @@ -1249,7 +1249,7 @@ that typemap, or add new values, to control how C/C++ types are mapped into Go types. </p> -<H3><a name="Go_output_arguments">25.4.9 Output arguments</a></H3> +<H3><a name="Go_output_arguments">23.4.9 Output arguments</a></H3> <p>Because of limitations in the way output arguments are processed in swig, @@ -1302,7 +1302,7 @@ void f(char *output); </pre> </div> -<H3><a name="Go_adding_additional_code">25.4.10 Adding additional go code</a></H3> +<H3><a name="Go_adding_additional_code">23.4.10 Adding additional go code</a></H3> <p>Often the APIs generated by swig are not very natural in go, especially if @@ -1397,7 +1397,7 @@ func bar() { </pre> </div> -<H3><a name="Go_typemaps">25.4.11 Go typemaps</a></H3> +<H3><a name="Go_typemaps">23.4.11 Go typemaps</a></H3> <p> |