diff options
author | ericm <ericm> | 2000-08-15 00:08:36 (GMT) |
---|---|---|
committer | ericm <ericm> | 2000-08-15 00:08:36 (GMT) |
commit | 45dcb6a5533f7a1980cdb9264f793958fa641b89 (patch) | |
tree | a0d32d8409edb97650250ac72faa5ff29e17cbb3 | |
parent | b775edfbf6db7b080897657dbd61e3189593eff6 (diff) | |
download | tcl-45dcb6a5533f7a1980cdb9264f793958fa641b89.zip tcl-45dcb6a5533f7a1980cdb9264f793958fa641b89.tar.gz tcl-45dcb6a5533f7a1980cdb9264f793958fa641b89.tar.bz2 |
* win/makefile.vc:
* win/Makefile.in:
* unix/Makefile.in: Added tclPlatDecls.h to the list of installed
headers, for more complete stubs support. [Bug: 5241].
* generic/tcl.h: Added #include "tclPlatDecls.h" to get
platform-specific stubs declarations (Tcl_WinTCharToUtf, etc)
[Bug: 5241].
-rw-r--r-- | ChangeLog | 14 | ||||
-rw-r--r-- | generic/tcl.h | 9 | ||||
-rw-r--r-- | unix/Makefile.in | 7 | ||||
-rw-r--r-- | win/Makefile.in | 5 | ||||
-rw-r--r-- | win/makefile.vc | 25 |
5 files changed, 40 insertions, 20 deletions
@@ -1,7 +1,17 @@ 2000-08-14 Eric Melski <ericm@ajubasolutions.com> - * README: Updated link for instructions on compiling Tcl from sources to - point to correct location (http://dev.scriptics.com/doc/... instead of + * win/makefile.vc: + * win/Makefile.in: + * unix/Makefile.in: Added tclPlatDecls.h to the list of installed + headers, for more complete stubs support. [Bug: 5241]. + + * generic/tcl.h: Added #include "tclPlatDecls.h" to get + platform-specific stubs declarations (Tcl_WinTCharToUtf, etc) + [Bug: 5241]. + + * README: Updated link for instructions on compiling Tcl from + sources to point to correct location + (http://dev.scriptics.com/doc/... instead of http://dev.scriptics.com/support/...). 2000-08-11 Eric Melski <ericm@ajubasolutions.com> diff --git a/generic/tcl.h b/generic/tcl.h index 9b837c9..eb8329a 100644 --- a/generic/tcl.h +++ b/generic/tcl.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: tcl.h,v 1.75 2000/07/22 01:53:23 ericm Exp $ + * RCS: @(#) $Id: tcl.h,v 1.76 2000/08/15 00:08:36 ericm Exp $ */ #ifndef _TCL @@ -1795,6 +1795,13 @@ EXTERN char * Tcl_InitStubs _ANSI_ARGS_((Tcl_Interp *interp, #include "tclDecls.h" /* + * Include platform specific public function declarations that are + * accessible via the stubs table. + */ + +#include "tclPlatDecls.h" + +/* * Public functions that are not accessible via the stubs table. */ diff --git a/unix/Makefile.in b/unix/Makefile.in index d0d563d..3d2cd18 100644 --- a/unix/Makefile.in +++ b/unix/Makefile.in @@ -5,7 +5,7 @@ # "autoconf" program (constructs like "@foo@" will get replaced in the # actual Makefile. # -# RCS: @(#) $Id: Makefile.in,v 1.66 2000/06/06 04:39:49 ericm Exp $ +# RCS: @(#) $Id: Makefile.in,v 1.67 2000/08/15 00:08:37 ericm Exp $ VERSION = @TCL_VERSION@ @@ -475,7 +475,7 @@ topDirName: gendate: yacc -l $(GENERIC_DIR)/tclGetDate.y sed -e 's/yy/TclDate/g' -e '/^#include <values.h>/d' \ - -e 's?SCCSID?RCS: @(#) $$Id: Makefile.in,v 1.66 2000/06/06 04:39:49 ericm Exp $$?' \ + -e 's?SCCSID?RCS: @(#) $$Id: Makefile.in,v 1.67 2000/08/15 00:08:37 ericm Exp $$?' \ -e '/#ifdef __STDC__/,/#endif/d' -e '/TclDateerrlab:/d' \ -e '/TclDatenewstate:/d' -e '/#pragma/d' \ -e '/#include <inttypes.h>/d' -e 's/const /CONST /g' \ @@ -564,7 +564,8 @@ install-libraries: libraries chmod +x $(SRC_DIR)/install-sh; \ fi @echo "Installing header files"; - @for i in $(GENERIC_DIR)/tcl.h $(GENERIC_DIR)/tclDecls.h ; \ + @for i in $(GENERIC_DIR)/tcl.h $(GENERIC_DIR)/tclDecls.h \ + $(GENERIC_DIR)/tclPlatDecls.h ; \ do \ $(INSTALL_DATA) $$i $(INCLUDE_INSTALL_DIR); \ done; diff --git a/win/Makefile.in b/win/Makefile.in index 228e01a..b900399 100644 --- a/win/Makefile.in +++ b/win/Makefile.in @@ -5,7 +5,7 @@ # "autoconf" program (constructs like "@foo@" will get replaced in the # actual Makefile. # -# RCS: @(#) $Id: Makefile.in,v 1.37 2000/06/13 21:01:05 ericm Exp $ +# RCS: @(#) $Id: Makefile.in,v 1.38 2000/08/15 00:08:37 ericm Exp $ VERSION = @TCL_VERSION@ @@ -478,7 +478,8 @@ install-libraries: fi; \ done; @echo "Installing header files"; - @for i in "$(GENERIC_DIR)/tcl.h" "$(GENERIC_DIR)/tclDecls.h" ; \ + @for i in "$(GENERIC_DIR)/tcl.h" "$(GENERIC_DIR)/tclDecls.h" \ + "$(GENERIC_DIR)/tclPlatDecls.h" ; \ do \ $(COPY) "$$i" "$(INCLUDE_INSTALL_DIR)"; \ done; diff --git a/win/makefile.vc b/win/makefile.vc index b79b62a..930150b 100644 --- a/win/makefile.vc +++ b/win/makefile.vc @@ -6,7 +6,7 @@ # Copyright (c) 1995-1996 Sun Microsystems, Inc. # Copyright (c) 1998-1999 by Scriptics Corporation. # -# RCS: @(#) $Id: makefile.vc,v 1.53 2000/07/19 18:27:45 ericm Exp $ +# RCS: @(#) $Id: makefile.vc,v 1.54 2000/08/15 00:08:37 ericm Exp $ # Does not depend on the presence of any environment variables in # order to compile tcl; all needed information is derived from @@ -396,17 +396,18 @@ install-libraries: -@$(MKDIR) "$(SCRIPT_INSTALL_DIR)\encoding" -@copy "$(ROOT)\library\encoding\*.enc" "$(SCRIPT_INSTALL_DIR)\encoding" @echo installing library files - -@copy "$(GENERICDIR)\tcl.h" "$(INCLUDE_INSTALL_DIR)" - -@copy "$(GENERICDIR)\tclDecls.h" "$(INCLUDE_INSTALL_DIR)" - -@copy "$(ROOT)\library\history.tcl" "$(SCRIPT_INSTALL_DIR)" - -@copy "$(ROOT)\library\init.tcl" "$(SCRIPT_INSTALL_DIR)" - -@copy "$(ROOT)\library\ldAout.tcl" "$(SCRIPT_INSTALL_DIR)" - -@copy "$(ROOT)\library\parray.tcl" "$(SCRIPT_INSTALL_DIR)" - -@copy "$(ROOT)\library\safe.tcl" "$(SCRIPT_INSTALL_DIR)" - -@copy "$(ROOT)\library\tclIndex" "$(SCRIPT_INSTALL_DIR)" - -@copy "$(ROOT)\library\package.tcl" "$(SCRIPT_INSTALL_DIR)" - -@copy "$(ROOT)\library\word.tcl" "$(SCRIPT_INSTALL_DIR)" - -@copy "$(ROOT)\library\auto.tcl" "$(SCRIPT_INSTALL_DIR)" + -@copy "$(GENERICDIR)\tcl.h" "$(INCLUDE_INSTALL_DIR)" + -@copy "$(GENERICDIR)\tclDecls.h" "$(INCLUDE_INSTALL_DIR)" + -@copy "$(GENERICDIR)\tclPlatDecls.h" "$(INCLUDE_INSTALL_DIR)" + -@copy "$(ROOT)\library\history.tcl" "$(SCRIPT_INSTALL_DIR)" + -@copy "$(ROOT)\library\init.tcl" "$(SCRIPT_INSTALL_DIR)" + -@copy "$(ROOT)\library\ldAout.tcl" "$(SCRIPT_INSTALL_DIR)" + -@copy "$(ROOT)\library\parray.tcl" "$(SCRIPT_INSTALL_DIR)" + -@copy "$(ROOT)\library\safe.tcl" "$(SCRIPT_INSTALL_DIR)" + -@copy "$(ROOT)\library\tclIndex" "$(SCRIPT_INSTALL_DIR)" + -@copy "$(ROOT)\library\package.tcl" "$(SCRIPT_INSTALL_DIR)" + -@copy "$(ROOT)\library\word.tcl" "$(SCRIPT_INSTALL_DIR)" + -@copy "$(ROOT)\library\auto.tcl" "$(SCRIPT_INSTALL_DIR)" # # Regenerate the stubs files. |