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/SWIG@5301 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
445625dc0a
commit
f50eac41ce
25 changed files with 39 additions and 116 deletions
|
|
@ -4,8 +4,7 @@
|
|||
# created by SWIG. In this case, all of our C++ classes
|
||||
# get converted into function calls.
|
||||
|
||||
catch { load ./example.so example}
|
||||
catch { load ./example.dll example} ;# Windows
|
||||
catch { load ./example[info sharedlibextension] example}
|
||||
|
||||
# ----- Object creation -----
|
||||
|
||||
|
|
|
|||
|
|
@ -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 -----
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue