summaryrefslogtreecommitdiffstats
path: root/generic/tclIntPlatDecls.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2018-05-11 07:53:20 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2018-05-11 07:53:20 (GMT)
commit7bf3f83abd5bc0e24dbd3f02765b7e86d7ba1fa7 (patch)
tree961828337b31de8c5df029ec0979f32f1a7e9f37 /generic/tclIntPlatDecls.h
parentf5e87513071af9794d48e1b5c1b106343f4bca1f (diff)
downloadtcl-7bf3f83abd5bc0e24dbd3f02765b7e86d7ba1fa7.zip
tcl-7bf3f83abd5bc0e24dbd3f02765b7e86d7ba1fa7.tar.gz
tcl-7bf3f83abd5bc0e24dbd3f02765b7e86d7ba1fa7.tar.bz2
Rename Tcl_Dir to TclDIR, making it clear that this macro is not part of the public API
Diffstat (limited to 'generic/tclIntPlatDecls.h')
-rw-r--r--generic/tclIntPlatDecls.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/generic/tclIntPlatDecls.h b/generic/tclIntPlatDecls.h
index d792a54..5a3025a 100644
--- a/generic/tclIntPlatDecls.h
+++ b/generic/tclIntPlatDecls.h
@@ -15,8 +15,7 @@
#ifdef __WIN32__
# define Tcl_DirEntry void
-# define DIR void
-# define Tcl_Dir void
+# define TclDIR void
#endif
#undef TCL_STORAGE_CLASS
@@ -102,7 +101,7 @@ EXTERN TclFile TclpCreateTempFile(CONST char *contents);
#ifndef TclpReaddir_TCL_DECLARED
#define TclpReaddir_TCL_DECLARED
/* 10 */
-EXTERN Tcl_DirEntry * TclpReaddir(Tcl_Dir *dir);
+EXTERN Tcl_DirEntry * TclpReaddir(TclDIR *dir);
#endif
#ifndef TclpLocaltime_unix_TCL_DECLARED
#define TclpLocaltime_unix_TCL_DECLARED
@@ -203,7 +202,7 @@ EXTERN int TclWinGetPlatformId(void);
#ifndef TclpReaddir_TCL_DECLARED
#define TclpReaddir_TCL_DECLARED
/* 10 */
-EXTERN Tcl_DirEntry * TclpReaddir(Tcl_Dir *dir);
+EXTERN Tcl_DirEntry * TclpReaddir(TclDIR *dir);
#endif
#ifndef TclGetAndDetachPids_TCL_DECLARED
#define TclGetAndDetachPids_TCL_DECLARED
@@ -361,7 +360,7 @@ EXTERN TclFile TclpCreateTempFile(CONST char *contents);
#ifndef TclpReaddir_TCL_DECLARED
#define TclpReaddir_TCL_DECLARED
/* 10 */
-EXTERN Tcl_DirEntry * TclpReaddir(Tcl_Dir *dir);
+EXTERN Tcl_DirEntry * TclpReaddir(TclDIR *dir);
#endif
#ifndef TclpLocaltime_unix_TCL_DECLARED
#define TclpLocaltime_unix_TCL_DECLARED
@@ -451,7 +450,7 @@ typedef struct TclIntPlatStubs {
TclFile (*tclpOpenFile) (CONST char *fname, int mode); /* 7 */
int (*tclUnixWaitForFile) (int fd, int mask, int timeout); /* 8 */
TclFile (*tclpCreateTempFile) (CONST char *contents); /* 9 */
- Tcl_DirEntry * (*tclpReaddir) (Tcl_Dir *dir); /* 10 */
+ Tcl_DirEntry * (*tclpReaddir) (TclDIR *dir); /* 10 */
struct tm * (*tclpLocaltime_unix) (CONST time_t *clock); /* 11 */
struct tm * (*tclpGmtime_unix) (CONST time_t *clock); /* 12 */
char * (*tclpInetNtoa) (struct in_addr addr); /* 13 */
@@ -483,7 +482,7 @@ typedef struct TclIntPlatStubs {
int (*tclWinSetSockOpt) (SOCKET s, int level, int optname, CONST char *optval, int optlen); /* 7 */
int (*tclpGetPid) (Tcl_Pid pid); /* 8 */
int (*tclWinGetPlatformId) (void); /* 9 */
- Tcl_DirEntry * (*tclpReaddir) (Tcl_Dir *dir); /* 10 */
+ Tcl_DirEntry * (*tclpReaddir) (TclDIR *dir); /* 10 */
void (*tclGetAndDetachPids) (Tcl_Interp *interp, Tcl_Channel chan); /* 11 */
int (*tclpCloseFile) (TclFile file); /* 12 */
Tcl_Channel (*tclpCreateCommandChannel) (TclFile readFile, TclFile writeFile, TclFile errorFile, int numPids, Tcl_Pid *pidPtr); /* 13 */
@@ -515,7 +514,7 @@ typedef struct TclIntPlatStubs {
TclFile (*tclpOpenFile) (CONST char *fname, int mode); /* 7 */
int (*tclUnixWaitForFile) (int fd, int mask, int timeout); /* 8 */
TclFile (*tclpCreateTempFile) (CONST char *contents); /* 9 */
- Tcl_DirEntry * (*tclpReaddir) (Tcl_Dir *dir); /* 10 */
+ Tcl_DirEntry * (*tclpReaddir) (TclDIR *dir); /* 10 */
struct tm * (*tclpLocaltime_unix) (CONST time_t *clock); /* 11 */
struct tm * (*tclpGmtime_unix) (CONST time_t *clock); /* 12 */
char * (*tclpInetNtoa) (struct in_addr addr); /* 13 */