summaryrefslogtreecommitdiffstats
path: root/generic/tcl.h
diff options
context:
space:
mode:
authorstanton <stanton>1999-03-11 02:49:33 (GMT)
committerstanton <stanton>1999-03-11 02:49:33 (GMT)
commit0c1e2fd32193b13a516b2efbc1c5949057aacb5c (patch)
tree4d303c5ef23fa028b72024eb47ac9352e3093fdd /generic/tcl.h
parent959ef2397770f8b6b7319b28c4cee7ef60ba6ac4 (diff)
downloadtcl-0c1e2fd32193b13a516b2efbc1c5949057aacb5c.zip
tcl-0c1e2fd32193b13a516b2efbc1c5949057aacb5c.tar.gz
tcl-0c1e2fd32193b13a516b2efbc1c5949057aacb5c.tar.bz2
* generic/tclAlloc.c: Changed TCL_NATIVE_MALLOC to USE_TCLALLOC so
it matches 8.1. * generic/tclBasic.c: * generic/tcl.h: * generic/tcl.decls: Changed Tcl_ReleaseType from an enum to macros so it can be used in .rc files. Added Tcl_GetString. * unix/Makefile.in: Added compat binaries to the stub library. Changed compat binaries to always compile with shared flags since they need to be shared for the stub library.
Diffstat (limited to 'generic/tcl.h')
-rw-r--r--generic/tcl.h21
1 files changed, 9 insertions, 12 deletions
diff --git a/generic/tcl.h b/generic/tcl.h
index 48869d1..d98a955 100644
--- a/generic/tcl.h
+++ b/generic/tcl.h
@@ -12,13 +12,21 @@
* 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.36 1999/03/10 22:55:51 redman Exp $
+ * RCS: @(#) $Id: tcl.h,v 1.37 1999/03/11 02:49:33 stanton Exp $
*/
#ifndef _TCL
#define _TCL
/*
+ * The following defines are used to indicate the various release levels.
+ */
+
+#define TCL_ALPHA_RELEASE 0
+#define TCL_BETA_RELEASE 1
+#define TCL_FINAL_RELEASE 2
+
+/*
* When version numbers change here, must also go into the following files
* and update the version numbers:
*
@@ -33,13 +41,6 @@
*
*/
-
-typedef enum {
- TCL_ALPHA_RELEASE = 0,
- TCL_BETA_RELEASE = 1,
- TCL_FINAL_RELEASE = 2
-} Tcl_ReleaseType;
-
#define TCL_MAJOR_VERSION 8
#define TCL_MINOR_VERSION 0
#define TCL_RELEASE_LEVEL TCL_FINAL_RELEASE
@@ -1101,10 +1102,6 @@ EXTERN char * Tcl_InitStubs _ANSI_ARGS_((Tcl_Interp *interp,
EXTERN void Tcl_InitMemory _ANSI_ARGS_((Tcl_Interp *interp));
EXTERN void Tcl_Main _ANSI_ARGS_((int argc, char **argv,
Tcl_AppInitProc *appInitProc));
-EXTERN void Tcl_GetVersion _ANSI_ARGS_((int *major,
- int *minor, int *patchLevel, Tcl_ReleaseType *type));
-
-
/*
* Convenience declaration of Tcl_AppInit for backwards compatibility.