Assorted corrections.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9124 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Olly Betts 2006-05-18 08:46:04 +00:00
commit e5398e9c1e

View file

@ -92,7 +92,7 @@ in the interface file.
<p>
Swig can generate PHP4 extensions from C++ libraries as well when
given the <tt>-c++</tt> option. The support for C++ is discussed in
more detail in <a href="#Php_nn2_6">section 24.2.6</a>.
more detail in <a href="#Php_nn2_6">section 27.2.6</a>.
</p>
<p>
@ -119,7 +119,7 @@ OS):
</p>
<div class="code"><pre>
cc -I.. $(PHPINC) -fpic -c example_wrap.c
cc -shared example_wrap.o -o libexample.so
cc -shared example_wrap.o -o example.so
</pre></div>
<p>
@ -187,8 +187,8 @@ Both the <tt>-make</tt> and <tt>-phpfull</tt> arguments accept
additional optional arguments:
</p>
<ul>
<li><tt>-withincs "&lt;files&gt;"</tt> Adds include files to the config.m4 file.
<li><tt>-withlibs "&lt;files&gt;"</tt> Links the libraries into the shared object.
<li><tt>-withincs "&lt;incs&gt;"</tt> Adds include files to the config.m4 file.
<li><tt>-withlibs "&lt;libs&gt;"</tt> Links the libraries into the shared object.
<li><tt>-withc "&lt;files&gt;"</tt> Compiles and links the named C files into the shared object.
<li><tt>-withcxx "&lt;files&gt;"</tt> Compiles and links the named C++ files into the shared object,
<li><tt>-dlname "&lt;name&gt;"</tt> Changes the name of the generated shared object.
@ -568,8 +568,7 @@ taking the integer argument.
<p>
Pointers to C/C++ objects are <b>no longer</b> represented as character
strings such as: <tt>_523d3f4_Circle_p</tt>, instead they are represented
Pointers to C/C++ objects are represented
as PHP resources, rather like MySQL connection handles.
</p>