File: README.extensions

package info (click to toggle)
jimtcl 0.81%2Bdfsg0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 15,416 kB
  • sloc: ansic: 175,569; tcl: 5,456; sh: 4,814; cpp: 1,671; makefile: 269
file content (15 lines) | stat: -rw-r--r-- 502 bytes parent folder | download | duplicates (16)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
The /lib/jim directory contains both dynamically loadable extensions
and pure-Tcl extensions.

Dynamically loadable extensions must have a .so file extension
Tcl extensions must have a .tcl file extension

As long as /lib/jim is in $::auto_path (it is by default), extension
abc can be loaded with:

  package require abc

First abc.so will be tried, and then abc.tcl

Note that this directory may be something like /lib/jim, /usr/lib/jim or
/usr/local/lib/jim, depending upon where jim was installed.