summaryrefslogtreecommitdiffstats
path: root/generic/tclInt.decls
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-03-31 07:09:46 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-03-31 07:09:46 (GMT)
commit998384d14959533914f0aa6cacaa0bd26a590ba2 (patch)
treeb13d31bc0ccbff66c34e7e358f9ee5b9402ae16d /generic/tclInt.decls
parentc578a1e4fab8865107a12a0b38f2c50d9c0d6741 (diff)
downloadtcl-998384d14959533914f0aa6cacaa0bd26a590ba2.zip
tcl-998384d14959533914f0aa6cacaa0bd26a590ba2.tar.gz
tcl-998384d14959533914f0aa6cacaa0bd26a590ba2.tar.bz2
Internal API simplifications: Don't use types like HINSTANCE/HMODULE any more, just void*. Has effect only on Win32 and Cygwin.
Diffstat (limited to 'generic/tclInt.decls')
-rw-r--r--generic/tclInt.decls8
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tclInt.decls b/generic/tclInt.decls
index 82d9249..b9cec96 100644
--- a/generic/tclInt.decls
+++ b/generic/tclInt.decls
@@ -1082,11 +1082,11 @@ interface tclIntPlat
# Windows specific functions
declare 0 win {
- void TclWinConvertError(DWORD errCode)
+ void TclWinConvertError(int errCode)
}
# Removed in 9.0:
#declare 1 win {
-# void TclWinConvertWSAError(DWORD errCode)
+# void TclWinConvertWSAError(int errCode)
#}
# Removed in 9.0:
#declare 2 win {
@@ -1099,7 +1099,7 @@ declare 0 win {
# char *optval, int *optlen)
#}
declare 4 win {
- HINSTANCE TclWinGetTclInstance(void)
+ void *TclWinGetTclInstance(void)
}
# new for 8.4.20+/8.5.12+ Cygwin only
declare 5 win {
@@ -1177,7 +1177,7 @@ declare 19 win {
TclFile TclpOpenFile(const char *fname, int mode)
}
declare 20 win {
- void TclWinAddProcess(HANDLE hProcess, size_t id)
+ void TclWinAddProcess(void *hProcess, size_t id)
}
# Removed in 9.0:
#declare 21 win {