Tcl patches. Use [info sharedlibextension] to get file extension rather than hard-coding it]

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5301 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Dave Beazley 2003-11-11 21:20:00 +00:00
commit 1b607484e2
25 changed files with 39 additions and 116 deletions

View file

@ -1,7 +1,6 @@
# file: example.tcl
catch { load ./example.so example}
catch { load ./example.dll example} ;# Windows
catch { load ./example[info sharedlibextension] example}
# First create some objects using the pointer library.
puts "Testing the pointer library"