diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2018-03-25 19:21:11 (GMT) |
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2018-03-25 19:21:11 (GMT) |
| commit | e1e6b685fddcf2092c1e2473b53c05aab8f53a89 (patch) | |
| tree | c4572d75bf023c0be32197cecd662bc47f855c9f | |
| parent | cc19135f2ec7f1f64c1378ea11000e5db0b00cf2 (diff) | |
| parent | 08dc58ce408e626f0042eb1bbe92257aa3bdd927 (diff) | |
| download | tcl-e1e6b685fddcf2092c1e2473b53c05aab8f53a89.zip tcl-e1e6b685fddcf2092c1e2473b53c05aab8f53a89.tar.gz tcl-e1e6b685fddcf2092c1e2473b53c05aab8f53a89.tar.bz2 | |
merge 8.7
| -rw-r--r-- | generic/tclStubInit.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/generic/tclStubInit.c b/generic/tclStubInit.c index f87bfae..9755819 100644 --- a/generic/tclStubInit.c +++ b/generic/tclStubInit.c @@ -140,28 +140,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); |
