All the runtime scripts are called runme.tcl now for easier testing

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5651 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2004-01-20 21:22:56 +00:00
commit d2d3496881
22 changed files with 34 additions and 22 deletions

View file

@ -1,9 +1,11 @@
# see top-level Makefile.in
class
constants
contract
enum
funcptr
import
mpointer
multimap
operator
pointer

View file

@ -1,4 +1,4 @@
# file: example1.tcl
# file: runme.tcl
# This file illustrates the high level C++ interface.
# In this case C++ classes work kind of like Tk widgets

View file

@ -1,4 +1,4 @@
# file: example1.tcl
# file: runme2.tcl
# This file illustrates the low-level C++ interface
# created by SWIG. In this case, all of our C++ classes

View file

@ -19,7 +19,7 @@ to see a SWIG interface with some constant declarations in it.
<h2>Accessing Constants from Tcl</h2>
Click <a href="example.tcl">here</a> to see a script that prints out the values
Click <a href="runme.tcl">here</a> to see a script that prints out the values
of the constants contained in the above file.
<h2>Key points</h2>

View file

@ -1,4 +1,4 @@
# file: example.tcl
# file: runme.tcl
catch { load ./example[info sharedlibextension] example}

View file

@ -1,4 +1,4 @@
# file: example.tcl
# file: runme.tcl
# Try to load as a dynamic module.
catch { load ./example[info sharedlibextension] example}

View file

@ -21,7 +21,7 @@ of enumerated types are handled as integers.
<ul>
<li><a href="example.h">example.h</a>. Header file containing some enums.
<li><a href="example.i">example.i</a>. Interface file.
<li><a href="example.tcl">example.tcl</a>. Sample Tcl script.
<li><a href="runme.tcl">runme.tcl</a>. Sample Tcl script.
</ul>
<h2>Notes</h2>

View file

@ -1,4 +1,4 @@
# file: example.tcl
# file: runme.tcl
catch { load ./example[info sharedlibextension] example}

View file

@ -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.tcl">example.tcl</a> (Sample script)
<li><a href="runme.tcl">runme.tcl</a> (Sample script)
</ul>
<h2>Notes</h2>

View file

@ -1,4 +1,4 @@
# file: example.tcl
# file: runme.tcl
catch { load ./example[info sharedlibextension] example}

View file

@ -0,0 +1,11 @@
*_wrap.c
*_wrap.cxx
*.dll
*.dsw
*.exp
*.lib
*.ncb
*.opt
*.plg
Release
Debug

View file

@ -1,4 +1,4 @@
# file: example.tcl
# file: runme.tcl
# Try to load as a dynamic module.
catch { load ./example[info sharedlibextension] example}

View file

@ -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.tcl">example.tcl</a> (Tcl Script)
<li> <a href="runme.tcl">runme.tcl</a> (Tcl Script)
</ul>
<h2>Notes</h2>

View file

@ -1,4 +1,4 @@
# file: example.tcl
# file: runme.tcl
catch { load ./example[info sharedlibextension] example}

View file

@ -123,7 +123,7 @@ Click <a href="example.i">here</a> to see a SWIG interface file with these addit
<h2>Sample Tcl scripts</h2>
Click <a href="example.tcl">here</a> to see a script that manipulates some C++ references.
Click <a href="runme.tcl">here</a> to see a script that manipulates some C++ references.
<h2>Notes:</h2>

View file

@ -1,4 +1,4 @@
# file: example.tcl
# file: runme.tcl
# This file illustrates the manipulation of C++ references in Tcl

View file

@ -66,7 +66,7 @@ to create the extension <tt>example.so</tt>.
<h2>Using the extension</h2>
Click <a href="example.tcl">here</a> to see a script that calls our C functions from Tcl.
Click <a href="runme.tcl">here</a> to see a script that calls our C functions from Tcl.
<h2>Key points</h2>

View file

@ -1,8 +1,7 @@
# file: example.tcl
# file: runme.tcl
# Try to load as a dynamic module.
catch { load ./example.so example}
catch { load ./example.dll example} ;# Windows
catch { load ./example[info sharedlibextension] example}
# Call our gcd() function
set x 42

View file

@ -79,7 +79,7 @@ objects and to print out the value (for debugging purposes).
<h2>A Tcl Script</h2>
Click <a href="example.tcl">here</a> to see a script that uses these functions from Tcl.
Click <a href="runme.tcl">here</a> to see a script that uses these functions from Tcl.
<h2>Notes</h2>

View file

@ -21,7 +21,7 @@ Click <a href="example.i">here</a> to see a SWIG interface with some variable de
<h2>Manipulating Variables from Tcl</h2>
Click <a href="example.tcl">here</a> to see a script that updates and prints out the values of
Click <a href="runme.tcl">here</a> to see a script that updates and prints out the values of
the variables defined in the above file. Notice how the C global variables work just
like normal Tcl variables.
@ -75,4 +75,4 @@ interface.
</body>
</html>
<hr>
<hr>

View file

@ -1,4 +1,4 @@
# file: example.tcl
# file: runme.tcl
catch { load ./example[info sharedlibextension] example}