Wrapping Libraries and Packages
Often, your application will use various Tcl libraries and packages. This section describes how to wrap libraries and packages with your application.
In this section, a library refers to either:
- A collection of Tcl scripts contained in a directory that also contains a tclIndex file generated by the auto_mkindex command
- A binary shared library that an application can load using the load command
In this book, a package refers to a collection of Tcl scripts or binary shared libraries in a directory that also contains a pkgIndex.tcl file generated by the pkg_mkIndex command.
Note: You don't need to take any special steps to wrap applications that use the Tcl extensions bundled with TclPro (for example, [incr tcl]) if you specify the appropriate built-in prowrap uses option. See "Specifying the Tcl Interpreter" for more information.
http://www.ajubasolutions.com Voice: (650) 210-0100 Fax: (650) 210-0101 support@ajubasolutions.com |