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/SWIG@7081 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
John Lenz 2005-03-18 00:03:54 +00:00
commit 8cbb864008
13 changed files with 161 additions and 161 deletions

View file

@ -274,7 +274,7 @@ this actually provides enough support for many simple kinds of varargs functions
instance, you could make function calls like this (in Python):
</p>
<div class="code">
<div class="targetlang">
<pre>
&gt;&gt;&gt; traceprintf("Hello World")
&gt;&gt;&gt; traceprintf("Hello %s. Your number is %d\n" % (name, num))
@ -722,7 +722,7 @@ int printf(const char *fmt, ...);
Much to your amazement, it even seems to work if you try it:
</p>
<div class="code">
<div class="targetlang">
<pre>
&gt;&gt;&gt; import example
&gt;&gt;&gt; example.printf("Grade: %s %d/60 = %0.2f%%\n", "Dave", 47, 47.0*100/60)
@ -735,7 +735,7 @@ Grade: Dave 47/60 = 78.33%
Of course, there are still some limitations to consider:
</p>
<div class="code">
<div class="targetlang">
<pre>
&gt;&gt;&gt; example.printf("la de da de da %s", 42)
Segmentation fault (core dumped)