summaryrefslogtreecommitdiffstats
path: root/generic/tclStubInit.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2018-04-25 15:00:53 (GMT)
committerdgp <dgp@users.sourceforge.net>2018-04-25 15:00:53 (GMT)
commit13bcd282e3970b483fe00aa53e58ccf456d17bbc (patch)
tree4dbc707399a6e334148c8704fdf5b5450c204d3a /generic/tclStubInit.c
parent26e714137a987c67af5a932fdaf7bd1138d97a2d (diff)
parent859bcc9f868c96444e50001dac785edb3e889156 (diff)
downloadtcl-13bcd282e3970b483fe00aa53e58ccf456d17bbc.zip
tcl-13bcd282e3970b483fe00aa53e58ccf456d17bbc.tar.gz
tcl-13bcd282e3970b483fe00aa53e58ccf456d17bbc.tar.bz2
merge 8.7
Diffstat (limited to 'generic/tclStubInit.c')
-rw-r--r--generic/tclStubInit.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/generic/tclStubInit.c b/generic/tclStubInit.c
index 86406c1..be37bc0 100644
--- a/generic/tclStubInit.c
+++ b/generic/tclStubInit.c
@@ -265,28 +265,6 @@ Tcl_WinTCharToUtf(
* signature. Tcl 9 must find a better solution, but that cannot be done
* without introducing a binary incompatibility.
*/
-#define Tcl_DbNewLongObj ((Tcl_Obj*(*)(long,const char*,int))dbNewLongObj)
-static Tcl_Obj *dbNewLongObj(
- int intValue,
- const char *file,
- int line
-) {
-#ifdef TCL_MEM_DEBUG
- register Tcl_Obj *objPtr;
-
- TclDbNewObj(objPtr, file, line);
- objPtr->bytes = NULL;
-
- objPtr->internalRep.wideValue = (long) intValue;
- objPtr->typePtr = &tclIntType;
- return objPtr;
-#else
- return Tcl_NewIntObj(intValue);
-#endif
-}
-#define Tcl_GetLongFromObj (int(*)(Tcl_Interp*,Tcl_Obj*,long*))Tcl_GetIntFromObj
-#define Tcl_NewLongObj (Tcl_Obj*(*)(long))Tcl_NewIntObj
-#define Tcl_SetLongObj (void(*)(Tcl_Obj*,long))Tcl_SetIntObj
static int exprInt(Tcl_Interp *interp, const char *expr, int *ptr){
long longValue;
int result = Tcl_ExprLong(interp, expr, &longValue);
@@ -335,10 +313,6 @@ static int uniCharNcasecmp(const Tcl_UniChar *ucs, const Tcl_UniChar *uct, unsig
return Tcl_UniCharNcasecmp(ucs, uct, (unsigned long)n);
}
#define Tcl_UniCharNcasecmp (int(*)(const Tcl_UniChar*,const Tcl_UniChar*,unsigned long))uniCharNcasecmp
-static int formatInt(char *buffer, int n){
- return TclFormatInt(buffer, (long)n);
-}
-#define TclFormatInt (int(*)(char *, long))formatInt
#endif /* TCL_WIDE_INT_IS_LONG */