diff options
author | dgp <dgp@users.sourceforge.net> | 2006-02-08 21:41:27 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2006-02-08 21:41:27 (GMT) |
commit | c02df4db03405fcafcc2112fb34211157748e459 (patch) | |
tree | feaabb969de44d4d6c82c59dab708581780f8666 /generic/tcl.decls | |
parent | 828b7e282d4e1591be7f44c77c513ed0bf170b06 (diff) | |
download | tcl-c02df4db03405fcafcc2112fb34211157748e459.zip tcl-c02df4db03405fcafcc2112fb34211157748e459.tar.gz tcl-c02df4db03405fcafcc2112fb34211157748e459.tar.bz2 |
TIP#258 IMPLEMENTATION
* doc/Encoding.3: New subcommand [encoding dirs].
* doc/encoding.n: New routine Tcl_GetEncodingNameFromEnvironment.
* generic/tcl.decls: Made public:
* generic/tclBasic.c: TclGetEncodingFromObj
* generic/tclCmdAH.c: -> Tcl_GetEncodingFromObj
* generic/tclEncoding.c:TclGetEncodingSearchPath
* generic/tclInt.decls: -> Tcl_GetEncodingSearchPath
* generic/tclInt.h: TclSetEncodingSearchPath
* generic/tclTest.c: -> Tcl_SetEncodingSearchPath
* library/init.tcl: Removed commands:
* tests/cmdAH.test: [tcl::unsupported::EncodingDirs]
* tests/encoding.test: [testencoding path] (Tcltest)
* unix/tclUnixInit.c: [Patch 1413934].
* win/tclWinInit.c:
* generic/tclDecls.h: make genstubs
* generic/tclIntDecls.h:
* generic/tclStubInit.c:
Diffstat (limited to 'generic/tcl.decls')
-rw-r--r-- | generic/tcl.decls | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/generic/tcl.decls b/generic/tcl.decls index 6fe33f1..e19db3f 100644 --- a/generic/tcl.decls +++ b/generic/tcl.decls @@ -11,7 +11,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: tcl.decls,v 1.119 2006/02/01 18:27:43 dgp Exp $ +# RCS: @(#) $Id: tcl.decls,v 1.120 2006/02/08 21:41:27 dgp Exp $ library tcl @@ -2049,6 +2049,22 @@ declare 568 generic { Tcl_Obj *handlerPtr) } +# TIP#258 Enhanced Interface for Encodings + +declare 569 generic { + int Tcl_GetEncodingFromObj(Tcl_Interp* interp, Tcl_Obj* objPtr, + Tcl_Encoding* encodingPtr) +} +declare 570 generic { + Tcl_Obj* Tcl_GetEncodingSearchPath(void) +} +declare 571 generic { + int Tcl_SetEncodingSearchPath(Tcl_Obj* searchPath) +} +declare 572 generic { + CONST char *Tcl_GetEncodingNameFromEnvironment(Tcl_DString* bufPtr) +} + ############################################################################## # Define the platform specific public Tcl interface. These functions are |