summaryrefslogtreecommitdiff
path: root/Doc
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2022-08-20 22:14:58 +0100
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2022-08-31 19:40:13 +0100
commitc10a84c77597695e3bdba37f35d251cb826d1d72 (patch)
tree269c5358ed15d7322d1185220036089a6cf0909d /Doc
parentec965840ce3fa59a9f09e9d09fefacaa617b54d5 (diff)
downloadswig-c10a84c77597695e3bdba37f35d251cb826d1d72.tar.gz
Cosmetic stray semi-colon removal after %typemap using quotes
Diffstat (limited to 'Doc')
-rw-r--r--Doc/Manual/Customization.html2
-rw-r--r--Doc/Manual/D.html2
-rw-r--r--Doc/Manual/Doxygen.html2
-rw-r--r--Doc/Manual/Java.html10
-rw-r--r--Doc/Manual/Lisp.html2
-rw-r--r--Doc/Manual/Php.html2
-rw-r--r--Doc/Manual/Ruby.html2
-rw-r--r--Doc/Manual/Typemaps.html18
8 files changed, 20 insertions, 20 deletions
diff --git a/Doc/Manual/Customization.html b/Doc/Manual/Customization.html
index 5fe0f5b52..aab3528ac 100644
--- a/Doc/Manual/Customization.html
+++ b/Doc/Manual/Customization.html
@@ -668,7 +668,7 @@ results. For example:
<div class="code">
<pre>
-%typemap(newfree) char * "free($1);";
+%typemap(newfree) char * "free($1);"
...
%newobject strdup;
...
diff --git a/Doc/Manual/D.html b/Doc/Manual/D.html
index 99ee027a1..9e733c401 100644
--- a/Doc/Manual/D.html
+++ b/Doc/Manual/D.html
@@ -278,7 +278,7 @@ Like, $imcall, this special variable is only expanded in the "dout" typemap.
<p>This macro is used in the <tt>dimports</tt> typemap if a dependency on another D type generated by SWIG is added by a custom typemap.</p>
<p>Consider the following code snippet:</p>
<div class="code"><pre>
-%typemap(dinterfaces) SomeClass "AnInterface, AnotherInterface";
+%typemap(dinterfaces) SomeClass "AnInterface, AnotherInterface"
</pre></div>
<p>This causes SWIG to add <tt>AnInterface</tt> and <tt>AnotherInterface</tt> to the base class list of <tt>SomeClass</tt>:</p>
<div class="targetlang"><pre>
diff --git a/Doc/Manual/Doxygen.html b/Doc/Manual/Doxygen.html
index 5b2f7cac6..9d2cc7724 100644
--- a/Doc/Manual/Doxygen.html
+++ b/Doc/Manual/Doxygen.html
@@ -1114,7 +1114,7 @@ name of the type with namespace scope delimiters (<tt>::</tt>) replaced with a d
change this, you can define your own typemaps for the custom types, e.g:
</p>
<div class="code"><pre>
-%typemap(doctype) MyDate "datetime.date";
+%typemap(doctype) MyDate "datetime.date"
</pre></div>
<p>
diff --git a/Doc/Manual/Java.html b/Doc/Manual/Java.html
index 6f1785256..d15ef2f0b 100644
--- a/Doc/Manual/Java.html
+++ b/Doc/Manual/Java.html
@@ -4218,7 +4218,7 @@ You can copy the code below into an interface file and run SWIG on it and examin
%}
// Expose C++ exception as a Java Exception by changing the Java base class and providing a getMessage()
-%typemap(javabase) MyNS::MyException "java.lang.RuntimeException";
+%typemap(javabase) MyNS::MyException "java.lang.RuntimeException"
%rename(getMessage) MyNS::MyException::whatsup;
%inline %{
@@ -7065,7 +7065,7 @@ The corrected interface file looks like:
<pre>
// class Foo is handled in a different interface file:
%import "Foo.i"
-%typemap("javapackage") Foo, Foo *, Foo &amp; "com.wombat.foo";
+%typemap("javapackage") Foo, Foo *, Foo &amp; "com.wombat.foo"
%feature("director") Example;
%inline {
@@ -7093,11 +7093,11 @@ Note the helper macros below, <code>OTHER_PACKAGE_SPEC</code> and <code>ANOTHER_
"package.for.most.classes";
%define OTHER_PACKAGE_SPEC(TYPE...)
-%typemap("javapackage") TYPE, TYPE *, TYPE &amp; "package.for.other.classes";
+%typemap("javapackage") TYPE, TYPE *, TYPE &amp; "package.for.other.classes"
%enddef
%define ANOTHER_PACKAGE_SPEC(TYPE...)
-%typemap("javapackage") TYPE, TYPE *, TYPE &amp; "package.for.another.set";
+%typemap("javapackage") TYPE, TYPE *, TYPE &amp; "package.for.another.set"
%enddef
OTHER_PACKAGE_SPEC(Package_2_class_one)
@@ -7291,7 +7291,7 @@ The typemaps to use then are as follows:
<div class="code">
<pre>
-%typemap(javabase) FileException "java.lang.Exception";
+%typemap(javabase) FileException "java.lang.Exception"
%typemap(javacode) FileException %{
public String getMessage() {
return what();
diff --git a/Doc/Manual/Lisp.html b/Doc/Manual/Lisp.html
index 6eb448a12..6d8463beb 100644
--- a/Doc/Manual/Lisp.html
+++ b/Doc/Manual/Lisp.html
@@ -264,7 +264,7 @@ Let's edit the interface file such that the C type "div_t*" is changed
<div class="code"><pre>
%module test
-%typemap(cin) div_t* ":my-pointer";
+%typemap(cin) div_t* ":my-pointer"
%feature("intern_function", "1");
%feature("export");
diff --git a/Doc/Manual/Php.html b/Doc/Manual/Php.html
index 51ef01c51..72c914656 100644
--- a/Doc/Manual/Php.html
+++ b/Doc/Manual/Php.html
@@ -836,7 +836,7 @@ so:
</p>
<div class="code"><pre>
-%typemap("phpinterfaces") MyIterator "Iterator";
+%typemap("phpinterfaces") MyIterator "Iterator"
</pre></div>
<p>
diff --git a/Doc/Manual/Ruby.html b/Doc/Manual/Ruby.html
index 5581cc458..e85faec42 100644
--- a/Doc/Manual/Ruby.html
+++ b/Doc/Manual/Ruby.html
@@ -1707,7 +1707,7 @@ For example: </p>
<div class="code">
<pre>%rename("is_it_safe?") is_it_safe();
-%typemap(out) int is_it_safe "$result = ($1 != 0) ? Qtrue : Qfalse;";
+%typemap(out) int is_it_safe "$result = ($1 != 0) ? Qtrue : Qfalse;"
int is_it_safe();</pre>
</div>
diff --git a/Doc/Manual/Typemaps.html b/Doc/Manual/Typemaps.html
index 8a4f830b9..3f172d540 100644
--- a/Doc/Manual/Typemaps.html
+++ b/Doc/Manual/Typemaps.html
@@ -787,7 +787,7 @@ Here are some examples of valid typemap specifications:
%typemap(in) int {
$1 = PyInt_AsLong($input);
}
-%typemap(in) int "$1 = PyInt_AsLong($input);";
+%typemap(in) int "$1 = PyInt_AsLong($input);"
%typemap(in) int %{
$1 = PyInt_AsLong($input);
%}
@@ -803,7 +803,7 @@ Here are some examples of valid typemap specifications:
}
/* Typemap with modifiers */
-%typemap(in, doc="integer") int "$1 = scm_to_int($input);";
+%typemap(in, doc="integer") int "$1 = scm_to_int($input);"
/* Typemap applied to patterns of multiple arguments */
%typemap(in) (char *str, int len),
@@ -1356,13 +1356,13 @@ const reference are written like this:
<div class="code">
<pre>
-%typemap(in) int "... convert to int ...";
-%typemap(in) short "... convert to short ...";
-%typemap(in) float "... convert to float ...";
+%typemap(in) int "... convert to int ..."
+%typemap(in) short "... convert to short ..."
+%typemap(in) float "... convert to float ..."
...
-%typemap(in) const int &amp; "... convert ...";
-%typemap(in) const short &amp; "... convert ...";
-%typemap(in) const float &amp; "... convert ...";
+%typemap(in) const int &amp; "... convert ..."
+%typemap(in) const short &amp; "... convert ..."
+%typemap(in) const float &amp; "... convert ..."
...
</pre>
</div>
@@ -1943,7 +1943,7 @@ Occasionally, typemap code will be specified using a few alternative forms. For
<div class="code">
<pre>
-%typemap(in) int "$1 = PyInt_AsLong($input);";
+%typemap(in) int "$1 = PyInt_AsLong($input);"
%typemap(in) int %{
$1 = PyInt_AsLong($input);
%}