diff options
Diffstat (limited to 'generic/tcl.h')
| -rw-r--r-- | generic/tcl.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/generic/tcl.h b/generic/tcl.h index c475799..947e4a7 100644 --- a/generic/tcl.h +++ b/generic/tcl.h @@ -1965,7 +1965,8 @@ typedef struct Tcl_EncodingType { Tcl_EncodingConvertProc *fromUtfProc; /* Function to convert from UTF-8 into * external encoding. */ - Tcl_FreeProc *freeProc; /* If non-NULL, function to call when this + Tcl_FreeProc *freeProc; + /* If non-NULL, function to call when this * encoding is deleted. */ void *clientData; /* Arbitrary value associated with encoding * type. Passed to conversion functions. */ @@ -2454,9 +2455,9 @@ EXTERN const char *TclZipfs_AppHook(int *argc, char ***argv); # define attemptckalloc Tcl_AttemptAlloc # ifdef _MSC_VER /* Silence invalid C4090 warnings */ -# define ckfree(a) Tcl_Free((void *)(a)) -# define ckrealloc(a, b) Tcl_Realloc((void *)(a), (b)) -# define attemptckrealloc(a, b) Tcl_AttemptRealloc((void *)(a), (b)) +# define ckfree(a) Tcl_Free((void *)(a)) +# define ckrealloc(a,b) Tcl_Realloc((void *)(a),(b)) +# define attemptckrealloc(a,b) Tcl_AttemptRealloc((void *)(a),(b)) # else # define ckfree Tcl_Free # define ckrealloc Tcl_Realloc @@ -2477,7 +2478,7 @@ EXTERN const char *TclZipfs_AppHook(int *argc, char ***argv); # undef Tcl_DumpActiveMemory # define Tcl_DumpActiveMemory(x) # undef Tcl_ValidateAllMemory -# define Tcl_ValidateAllMemory(x, y) +# define Tcl_ValidateAllMemory(x,y) #endif /* !TCL_MEM_DEBUG */ |
