File: README.extensions

package info (click to toggle)
jimtcl 0.79%2Bdfsg0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 12,992 kB
  • sloc: ansic: 155,746; tcl: 4,984; sh: 4,624; cpp: 1,671; makefile: 243
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.