summaryrefslogtreecommitdiff
path: root/README.extensions
diff options
context:
space:
mode:
authorDidier Raboud <odyx@debian.org>2017-11-28 16:59:36 +0100
committerDidier Raboud <odyx@debian.org>2017-11-28 16:59:36 +0100
commitba67de24f09cd22ab6f3ac3a0b89e3a62a1bfbc1 (patch)
tree83052b1c6912c4ba587206fff50787cc67be2ea0 /README.extensions
Import jimtcl_0.77+dfsg0.orig.tar.xz
[dgit import orig jimtcl_0.77+dfsg0.orig.tar.xz]
Diffstat (limited to 'README.extensions')
-rw-r--r--README.extensions15
1 files changed, 15 insertions, 0 deletions
diff --git a/README.extensions b/README.extensions
new file mode 100644
index 0000000..0eaca1c
--- /dev/null
+++ b/README.extensions
@@ -0,0 +1,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.