Update documentation to use the right div class="targetlang" and such.

The only docs left to update are the individual language chapters.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7081 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
John Lenz 2005-03-18 00:03:54 +00:00
commit 9e9f5d84b3
13 changed files with 161 additions and 161 deletions

View file

@ -98,7 +98,7 @@ When the resulting module is created, you can now use the function
like this (shown for Python):
</p>
<div class="code"><pre>
<div class="targetlang"><pre>
&gt;&gt;&gt; a = add(3,4)
&gt;&gt;&gt; print a
7
@ -153,7 +153,7 @@ void getwinsize(int winid, int *width, int *height);
In this case, the function returns multiple values, allowing it to be used like this:
</p>
<div class="code"><pre>
<div class="targetlang"><pre>
&gt;&gt;&gt; w,h = genwinsize(wid)
&gt;&gt;&gt; print w
400
@ -234,7 +234,7 @@ extern double add(double *INPUT, double *INPUT);
When the function is used in the scripting language interpreter, it will work like this:
</p>
<div class="code"><pre>
<div class="targetlang"><pre>
result = add(3,4)
</pre></div>
@ -297,7 +297,7 @@ extern int foo(double a, double b, double *OUTPUT);
The function will return two values like this:
</p>
<div class="code">
<div class="targetlang">
<pre>
iresult, dresult = foo(3.5, 2)
</pre>
@ -347,7 +347,7 @@ extern void negate(double *INOUT);
<p>
Now within a script, you can simply call the function normally :</p>
<div class="code"><pre>
<div class="targetlang"><pre>
a = negate(3); # a = -3 after calling this
</pre></div>