diff options
| author | andreask@activestate.com <andreas_kupries> | 2006-09-22 18:13:25 (GMT) |
|---|---|---|
| committer | andreask@activestate.com <andreas_kupries> | 2006-09-22 18:13:25 (GMT) |
| commit | c246584cc91954a3fccbf7fca4917c329132c72d (patch) | |
| tree | f67d58798c4d5ba6ee60a07d1f99fe77001dee13 /generic/tclInt.h | |
| parent | 4e66cc45e7f8b8b2240afda802563e458907d2dd (diff) | |
| download | tcl-c246584cc91954a3fccbf7fca4917c329132c72d.zip tcl-c246584cc91954a3fccbf7fca4917c329132c72d.tar.gz tcl-c246584cc91954a3fccbf7fca4917c329132c72d.tar.bz2 | |
TIP#268 IMPLEMENTATION
* generic/tclDecls.h: Regenerated from tcl.decls.
* generic/tclStubInit.c:
* doc/PkgRequire.3: Documentation of extended API,
* doc/package.n: extended testsuite.
* tests/pkg.test:
* generic/tcl.decls: Implementation.
* generic/tclBasic.c:
* generic/tclConfig.c:
* generic/tclInt.h:
* generic/tclPkg.c:
* generic/tclTest.c:
* generic/tclTomMathInterface.c:
* library/init.tcl:
* library/package.tcl:
* library/tm.tcl:
Diffstat (limited to 'generic/tclInt.h')
| -rw-r--r-- | generic/tclInt.h | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/generic/tclInt.h b/generic/tclInt.h index 0f34ea5..7b230dc 100644 --- a/generic/tclInt.h +++ b/generic/tclInt.h @@ -12,7 +12,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclInt.h,v 1.275 2006/08/21 01:08:41 das Exp $ + * RCS: @(#) $Id: tclInt.h,v 1.276 2006/09/22 18:13:28 andreas_kupries Exp $ */ #ifndef _TCLINT @@ -1260,6 +1260,15 @@ typedef struct ResolverScheme { typedef struct LimitHandler LimitHandler; /* + * TIP #268. + * Values for the selection mode, i.e the package require preferences. + */ + +enum PkgPreferOptions { + PKG_PREFER_LATEST, PKG_PREFER_STABLE +}; + +/* *---------------------------------------------------------------- * This structure defines an interpreter, which is a collection of commands * plus other state information related to interpreting commands, such as @@ -1376,6 +1385,15 @@ typedef struct Interp { * NULL. */ /* + * TIP #268. + * The currently active selection mode, + * i.e the package require preferences. + */ + + int packagePrefer; /* Current package selection mode. + */ + + /* * Miscellaneous information: */ |
