tcl.h | tcl.h | |||
---|---|---|---|---|
skipping to change at line 61 | skipping to change at line 61 | |||
* win/README (not patchlevel) (sections 0 and 2) | * win/README (not patchlevel) (sections 0 and 2) | |||
* unix/tcl.spec (1 LOC patch) | * unix/tcl.spec (1 LOC patch) | |||
* tools/tcl.hpj.in (not patchlevel, for windows installer) | * tools/tcl.hpj.in (not patchlevel, for windows installer) | |||
* tools/tcl.wse.in (for windows installer) | * tools/tcl.wse.in (for windows installer) | |||
* tools/tclSplash.bmp (not patchlevel) | * tools/tclSplash.bmp (not patchlevel) | |||
*/ | */ | |||
#define TCL_MAJOR_VERSION 8 | #define TCL_MAJOR_VERSION 8 | |||
#define TCL_MINOR_VERSION 5 | #define TCL_MINOR_VERSION 5 | |||
#define TCL_RELEASE_LEVEL TCL_FINAL_RELEASE | #define TCL_RELEASE_LEVEL TCL_FINAL_RELEASE | |||
#define TCL_RELEASE_SERIAL 14 | #define TCL_RELEASE_SERIAL 15 | |||
#define TCL_VERSION "8.5" | #define TCL_VERSION "8.5" | |||
#define TCL_PATCH_LEVEL "8.5.14" | #define TCL_PATCH_LEVEL "8.5.15" | |||
/* | /* | |||
* The following definitions set up the proper options for Windows compiler s. | * The following definitions set up the proper options for Windows compiler s. | |||
* We use this method because there is no autoconf equivalent. | * We use this method because there is no autoconf equivalent. | |||
*/ | */ | |||
#ifndef __WIN32__ | #ifndef __WIN32__ | |||
# if defined(_WIN32) || defined(WIN32) || defined(__MINGW32__) || defined (__BORLANDC__) || (defined(__WATCOMC__) && defined(__WINDOWS_386__)) | # if defined(_WIN32) || defined(WIN32) || defined(__MINGW32__) || defined (__BORLANDC__) || (defined(__WATCOMC__) && defined(__WINDOWS_386__)) | |||
# define __WIN32__ | # define __WIN32__ | |||
# ifndef WIN32 | # ifndef WIN32 | |||
skipping to change at line 296 | skipping to change at line 296 | |||
typedef short SHORT; | typedef short SHORT; | |||
typedef long LONG; | typedef long LONG; | |||
#endif | #endif | |||
#endif /* __WIN32__ && !HAVE_WINNT_IGNORE_VOID */ | #endif /* __WIN32__ && !HAVE_WINNT_IGNORE_VOID */ | |||
/* | /* | |||
* Macro to use instead of "void" for arguments that must have type "void * " | * Macro to use instead of "void" for arguments that must have type "void * " | |||
* in ANSI C; maps them to type "char *" in non-ANSI systems. | * in ANSI C; maps them to type "char *" in non-ANSI systems. | |||
*/ | */ | |||
#ifndef NO_VOID | #ifndef __VXWORKS__ | |||
#define VOID void | # ifndef NO_VOID | |||
#else | # define VOID void | |||
#define VOID char | # else | |||
# define VOID char | ||||
# endif | ||||
#endif | #endif | |||
/* | /* | |||
* Miscellaneous declarations. | * Miscellaneous declarations. | |||
*/ | */ | |||
#ifndef _CLIENTDATA | #ifndef _CLIENTDATA | |||
# ifndef NO_VOID | # ifndef NO_VOID | |||
typedef void *ClientData; | typedef void *ClientData; | |||
# else | # else | |||
End of changes. 3 change blocks. | ||||
6 lines changed or deleted | 8 lines changed or added | |||
tclDecls.h | tclDecls.h | |||
---|---|---|---|---|
skipping to change at line 6550 | skipping to change at line 6550 | |||
#endif /* defined(USE_TCL_STUBS) && !defined(USE_TCL_STUB_PROCS) */ | #endif /* defined(USE_TCL_STUBS) && !defined(USE_TCL_STUB_PROCS) */ | |||
/* !END!: Do not edit above this line. */ | /* !END!: Do not edit above this line. */ | |||
#undef TclUnusedStubEntry | #undef TclUnusedStubEntry | |||
#undef TCL_STORAGE_CLASS | #undef TCL_STORAGE_CLASS | |||
#define TCL_STORAGE_CLASS DLLIMPORT | #define TCL_STORAGE_CLASS DLLIMPORT | |||
#undef Tcl_PkgPresent | ||||
#define Tcl_PkgPresent(interp, name, version, exact) \ | ||||
Tcl_PkgPresentEx(interp, name, version, exact, NULL) | ||||
#undef Tcl_PkgProvide | ||||
#define Tcl_PkgProvide(interp, name, version) \ | ||||
Tcl_PkgProvideEx(interp, name, version, NULL) | ||||
#undef Tcl_PkgRequire | ||||
#define Tcl_PkgRequire(interp, name, version, exact) \ | ||||
Tcl_PkgRequireEx(interp, name, version, exact, NULL) | ||||
#undef Tcl_GetIndexFromObj | ||||
#define Tcl_GetIndexFromObj(interp, objPtr, tablePtr, msg, flags, indexPtr) | ||||
\ | ||||
Tcl_GetIndexFromObjStruct(interp, objPtr, tablePtr, \ | ||||
sizeof(char *), msg, flags, indexPtr) | ||||
#undef Tcl_NewBooleanObj | ||||
#define Tcl_NewBooleanObj(boolValue) \ | ||||
Tcl_NewIntObj((boolValue)!=0) | ||||
#undef Tcl_DbNewBooleanObj | ||||
#define Tcl_DbNewBooleanObj(boolValue, file, line) \ | ||||
Tcl_DbNewLongObj((boolValue)!=0, file, line) | ||||
#undef Tcl_SetBooleanObj | ||||
#define Tcl_SetBooleanObj(objPtr, boolValue) \ | ||||
Tcl_SetIntObj((objPtr), (boolValue)!=0) | ||||
#undef Tcl_SetVar | ||||
#define Tcl_SetVar(interp, varName, newValue, flags) \ | ||||
Tcl_SetVar2(interp, varName, NULL, newValue, flags) | ||||
#undef Tcl_UnsetVar | ||||
#define Tcl_UnsetVar(interp, varName, flags) \ | ||||
Tcl_UnsetVar2(interp, varName, NULL, flags) | ||||
#undef Tcl_GetVar | ||||
#define Tcl_GetVar(interp, varName, flags) \ | ||||
Tcl_GetVar2(interp, varName, NULL, flags) | ||||
#undef Tcl_TraceVar | ||||
#define Tcl_TraceVar(interp, varName, flags, proc, clientData) \ | ||||
Tcl_TraceVar2(interp, varName, NULL, flags, proc, clientData) | ||||
#undef Tcl_UntraceVar | ||||
#define Tcl_UntraceVar(interp, varName, flags, proc, clientData) \ | ||||
Tcl_UntraceVar2(interp, varName, NULL, flags, proc, clientData) | ||||
#undef Tcl_VarTraceInfo | ||||
#define Tcl_VarTraceInfo(interp, varName, flags, proc, prevClientData) \ | ||||
Tcl_VarTraceInfo2(interp, varName, NULL, flags, proc, prevClientData | ||||
) | ||||
#undef Tcl_UpVar | ||||
#define Tcl_UpVar(interp, frameName, varName, localName, flags) \ | ||||
Tcl_UpVar2(interp, frameName, varName, NULL, localName, flags) | ||||
#if defined(USE_TCL_STUBS) && !defined(USE_TCL_STUB_PROCS) | ||||
# if defined(__CYGWIN__) && defined(TCL_WIDE_INT_IS_LONG) | ||||
/* On Cygwin64, long is 64-bit while on Win64 long is 32-bit. Therefore | ||||
* we have to make sure that all stub entries on Cygwin64 follow the | ||||
* Win64 signature. Cygwin64 stubbed extensions cannot use those stub | ||||
* entries any more, they should use the 64-bit alternatives where | ||||
* possible. Tcl 9 must find a better solution, but that cannot be done | ||||
* without introducing a binary incompatibility. | ||||
*/ | ||||
# undef Tcl_DbNewLongObj | ||||
# undef Tcl_GetLongFromObj | ||||
# undef Tcl_NewLongObj | ||||
# undef Tcl_SetLongObj | ||||
# undef Tcl_ExprLong | ||||
# undef Tcl_ExprLongObj | ||||
# undef Tcl_UniCharNcmp | ||||
# undef Tcl_UtfNcmp | ||||
# undef Tcl_UtfNcasecmp | ||||
# undef Tcl_UniCharNcasecmp | ||||
# define Tcl_DbNewLongObj ((Tcl_Obj*(*)(long,const char*,int))Tcl_DbNe | ||||
wWideIntObj) | ||||
# define Tcl_GetLongFromObj ((int(*)(Tcl_Interp*,Tcl_Obj*,long*))Tcl_G | ||||
etWideIntFromObj) | ||||
# define Tcl_NewLongObj ((Tcl_Obj*(*)(long))Tcl_NewWideIntObj) | ||||
# define Tcl_SetLongObj ((void(*)(Tcl_Obj*,long))Tcl_SetWideIntObj) | ||||
# define Tcl_ExprLong TclExprLong | ||||
static inline int TclExprLong(Tcl_Interp *interp, const char *string | ||||
, long *ptr){ | ||||
int intValue; | ||||
int result = tclStubsPtr->tcl_ExprLong(interp, string, (long *)& | ||||
intValue); | ||||
if (result == TCL_OK) *ptr = (long)intValue; | ||||
return result; | ||||
} | ||||
# define Tcl_ExprLongObj TclExprLongObj | ||||
static inline int TclExprLongObj(Tcl_Interp *interp, Tcl_Obj *obj, l | ||||
ong *ptr){ | ||||
int intValue; | ||||
int result = tclStubsPtr->tcl_ExprLongObj(interp, obj, (long *)& | ||||
intValue); | ||||
if (result == TCL_OK) *ptr = (long)intValue; | ||||
return result; | ||||
} | ||||
# define Tcl_UniCharNcmp(ucs,uct,n) \ | ||||
((int(*)(const Tcl_UniChar*,const Tcl_UniChar*,unsigned int) | ||||
)tclStubsPtr->tcl_UniCharNcmp)(ucs,uct,(unsigned int)(n)) | ||||
# define Tcl_UtfNcmp(s1,s2,n) \ | ||||
((int(*)(const char*,const char*,unsigned int))tclStubsPtr-> | ||||
tcl_UtfNcmp)(s1,s2,(unsigned int)(n)) | ||||
# define Tcl_UtfNcasecmp(s1,s2,n) \ | ||||
((int(*)(const char*,const char*,unsigned int))tclStubsPtr-> | ||||
tcl_UtfNcasecmp)(s1,s2,(unsigned int)(n)) | ||||
# define Tcl_UniCharNcasecmp(ucs,uct,n) \ | ||||
((int(*)(const Tcl_UniChar*,const Tcl_UniChar*,unsigned int) | ||||
)tclStubsPtr->tcl_UniCharNcasecmp)(ucs,uct,(unsigned int)(n)) | ||||
# endif | ||||
#endif | ||||
/* | /* | |||
* Deprecated Tcl procedures: | * Deprecated Tcl procedures: | |||
*/ | */ | |||
#if defined(USE_TCL_STUBS) && !defined(USE_TCL_STUB_PROCS) | ||||
# undef Tcl_EvalObj | #undef Tcl_EvalObj | |||
# define Tcl_EvalObj(interp,objPtr) \ | #define Tcl_EvalObj(interp,objPtr) \ | |||
Tcl_EvalObjEx((interp),(objPtr),0) | Tcl_EvalObjEx((interp),(objPtr),0) | |||
# undef Tcl_GlobalEvalObj | #undef Tcl_GlobalEvalObj | |||
# define Tcl_GlobalEvalObj(interp,objPtr) \ | #define Tcl_GlobalEvalObj(interp,objPtr) \ | |||
Tcl_EvalObjEx((interp),(objPtr),TCL_EVAL_GLOBAL) | Tcl_EvalObjEx((interp),(objPtr),TCL_EVAL_GLOBAL) | |||
#endif | ||||
#endif /* _TCLDECLS */ | #endif /* _TCLDECLS */ | |||
End of changes. 2 change blocks. | ||||
8 lines changed or deleted | 111 lines changed or added | |||