File: README.extensions

package info (click to toggle)
jimtcl 0.77%2Bdfsg0-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 12,200 kB
  • sloc: ansic: 153,440; tcl: 4,477; sh: 4,246; cpp: 1,671; makefile: 253
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.