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:
parent
501bca9b67
commit
d2d3496881
22 changed files with 34 additions and 22 deletions
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue