File: README.extensions

package info (click to toggle)
openocd 0.8.0-4%2Bdeb7u1
  • links: PTS
  • area: main
  • in suites: jessie
  • size: 24,840 kB
  • sloc: ansic: 267,518; sh: 15,640; tcl: 6,888; asm: 1,684; cpp: 1,671; makefile: 1,185; perl: 717; python: 708; haskell: 35
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.