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:
parent
beb007b72c
commit
e5398e9c1e
1 changed files with 5 additions and 6 deletions
|
|
@ -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 "<files>"</tt> Adds include files to the config.m4 file.
|
||||
<li><tt>-withlibs "<files>"</tt> Links the libraries into the shared object.
|
||||
<li><tt>-withincs "<incs>"</tt> Adds include files to the config.m4 file.
|
||||
<li><tt>-withlibs "<libs>"</tt> Links the libraries into the shared object.
|
||||
<li><tt>-withc "<files>"</tt> Compiles and links the named C files into the shared object.
|
||||
<li><tt>-withcxx "<files>"</tt> Compiles and links the named C++ files into the shared object,
|
||||
<li><tt>-dlname "<name>"</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>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue