All the runtime scripts are called runme.pl now for easier testing
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5652 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
8d4c509404
commit
636a5db77a
22 changed files with 31 additions and 20 deletions
|
|
@ -90,7 +90,7 @@ Note: when creating a C++ extension, you must run SWIG with the <tt>-c++</tt> op
|
|||
|
||||
<h2>A sample Perl script</h2>
|
||||
|
||||
Click <a href="example.pl">here</a> to see a script that calls the C++ functions from Perl.
|
||||
Click <a href="runme.pl">here</a> to see a script that calls the C++ functions from Perl.
|
||||
|
||||
<h2>Key points</h2>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# file: example.pl
|
||||
# file: runme.pl
|
||||
|
||||
# This file illustrates the low-level C++ interface
|
||||
# created by SWIG. In this case, all of our C++ classes
|
||||
|
|
@ -19,7 +19,7 @@ to see a SWIG interface with some constant declarations in it.
|
|||
|
||||
<h2>Accessing Constants from Perl</h2>
|
||||
|
||||
Click <a href="example.pl">here</a> to see a script that prints out the values
|
||||
Click <a href="runme.pl">here</a> to see a script that prints out the values
|
||||
of the constants contained in the above file.
|
||||
|
||||
<h2>Key points</h2>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# file: example.pl
|
||||
# file: runme.pl
|
||||
|
||||
use example;
|
||||
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
# file: example.pl
|
||||
# file: runme.pl
|
||||
|
||||
use example;
|
||||
|
||||
|
|
@ -67,7 +67,7 @@ Here are some files that illustrate this with a simple example:
|
|||
<li><a href="example.c">example.c</a>
|
||||
<li><a href="example.h">example.h</a>
|
||||
<li><a href="example.i">example.i</a> (SWIG interface)
|
||||
<li><a href="example.pl">example.pl</a> (Sample script)
|
||||
<li><a href="runme.pl">runme.pl</a> (Sample script)
|
||||
</ul>
|
||||
|
||||
<h2>Notes</h2>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# file: example.pl
|
||||
# file: runme.pl
|
||||
|
||||
use example;
|
||||
|
||||
|
|
@ -3,6 +3,7 @@ example.pm
|
|||
foo.pm
|
||||
bar.pm
|
||||
spam.pm
|
||||
bar.plg
|
||||
*_wrap.c
|
||||
*_wrap.cxx
|
||||
*.dll
|
||||
|
|
|
|||
10
Examples/perl5/mpointer/.cvsignore
Normal file
10
Examples/perl5/mpointer/.cvsignore
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
example.pm
|
||||
*_wrap.c
|
||||
*_wrap.cxx
|
||||
example.dll
|
||||
example.dsw
|
||||
example.ncb
|
||||
example.opt
|
||||
example.plg
|
||||
Release
|
||||
Debug
|
||||
2
Examples/perl5/multimap/example.pl → Examples/perl5/multimap/runme.pl
Executable file → Normal file
2
Examples/perl5/multimap/example.pl → Examples/perl5/multimap/runme.pl
Executable file → Normal file
|
|
@ -1,4 +1,4 @@
|
|||
# file: example.pl
|
||||
# file: runme.pl
|
||||
|
||||
use example;
|
||||
|
||||
|
|
@ -147,7 +147,7 @@ extraction.
|
|||
<ul>
|
||||
<li> <a href="example.c">example.c</a> (C Source)
|
||||
<li> <a href="example.i">example.i</a> (Swig interface)
|
||||
<li> <a href="example.pl">example.pl</a> (Perl Script)
|
||||
<li> <a href="runme.pl">runme.pl</a> (Perl Script)
|
||||
</ul>
|
||||
|
||||
<h2>Notes</h2>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# file: example.pl
|
||||
# file: runme.pl
|
||||
|
||||
use example;
|
||||
|
||||
|
|
@ -123,7 +123,7 @@ Click <a href="example.i">here</a> to see a SWIG interface file with these addit
|
|||
|
||||
<h2>Sample Perl script</h2>
|
||||
|
||||
Click <a href="example.pl">here</a> to see a script that manipulates some C++ references.
|
||||
Click <a href="runme.pl">here</a> to see a script that manipulates some C++ references.
|
||||
|
||||
<h2>Notes:</h2>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# file: example.pl
|
||||
# file: runme.pl
|
||||
|
||||
# This file illustrates the manipulation of C++ references in Perl.
|
||||
# This uses the low-level interface. Shadow classes work differently.
|
||||
|
|
@ -90,7 +90,7 @@ Note: when creating a C++ extension, you must run SWIG with the <tt>-c++</tt> op
|
|||
|
||||
<h2>A sample Perl script</h2>
|
||||
|
||||
Click <a href="example.pl">here</a> to see a script that calls the C++ functions from Perl.
|
||||
Click <a href="runme.pl">here</a> to see a script that calls the C++ functions from Perl.
|
||||
|
||||
<h2>Key points</h2>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# file: example.pl
|
||||
# file: runme.pl
|
||||
|
||||
# This file illustrates the low-level C++ interface
|
||||
# created by SWIG. In this case, all of our C++ classes
|
||||
|
|
@ -69,7 +69,7 @@ to create the extension <tt>example.so</tt>.
|
|||
|
||||
<h2>Using the extension</h2>
|
||||
|
||||
Click <a href="example.pl">here</a> to see a script that calls our C functions from Perl.
|
||||
Click <a href="runme.pl">here</a> to see a script that calls our C functions from Perl.
|
||||
|
||||
<h2>Key points</h2>
|
||||
|
||||
|
|
|
|||
0
Examples/perl5/simple/example.pl → Examples/perl5/simple/runme.pl
Executable file → Normal file
0
Examples/perl5/simple/example.pl → Examples/perl5/simple/runme.pl
Executable file → Normal file
|
|
@ -79,7 +79,7 @@ objects and to print out the value (for debugging purposes).
|
|||
|
||||
<h2>A Perl Script</h2>
|
||||
|
||||
Click <a href="example.pl">here</a> to see a script that uses these functions from Perl.
|
||||
Click <a href="runme.pl">here</a> to see a script that uses these functions from Perl.
|
||||
|
||||
<h2>Notes</h2>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# file: example.pl
|
||||
# file: runme.pl
|
||||
|
||||
use example;
|
||||
|
||||
|
|
@ -23,7 +23,7 @@ declarations in it.
|
|||
<h2>Manipulating Variables from Perl</h2>
|
||||
|
||||
Accessing a C global variable from Perl is easy---just reference it like a normal Perl variable.
|
||||
Click <a href="example.pl">here</a> to see a script that updates and prints some global variables.
|
||||
Click <a href="runme.pl">here</a> to see a script that updates and prints some global variables.
|
||||
|
||||
<h2>Creating read-only variables</h2>
|
||||
|
||||
|
|
@ -62,4 +62,4 @@ find out more about this feature.
|
|||
|
||||
</body>
|
||||
</html>
|
||||
<hr>
|
||||
<hr>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# file: example.pl
|
||||
# file: runme.pl
|
||||
|
||||
use example;
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue