1941-docker-image-to-testdevel
| Rev | Line | |
|---|
| [6d7779d] | 1 | # Tcl package index file, version 1.1 |
|---|
| 2 | |
|---|
| 3 | proc LoadToltcl { version dir } { |
|---|
| 4 | global tcl_platform |
|---|
| 5 | |
|---|
| 6 | set suffix [info sharedlibextension] |
|---|
| 7 | if {$tcl_platform(platform) eq "unix"} { |
|---|
| 8 | set name libtoltcl${version}[info sharedlibextension] |
|---|
| 9 | } else { |
|---|
| 10 | set name toltcl.dll |
|---|
| 11 | } |
|---|
| 12 | load [file join $dir $name] Toltcl |
|---|
| 13 | } |
|---|
| 14 | |
|---|
| [cdb9682] | 15 | set version "2.0.1" |
|---|
| [6d7779d] | 16 | |
|---|
| 17 | package ifneeded Toltcl $version [list LoadToltcl $version $dir] |
|---|
| 18 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.