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

@ -3,8 +3,7 @@
# This file illustrates the high level C++ interface.
# In this case C++ classes work kind of like Tk widgets
catch { load ./example.so example}
catch { load ./example.dll example} ;# Windows
catch { load ./example[info sharedlibextension] example}
# ----- Object creation -----