Tcl Source Code

Check-in [65be206be4]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:small wrapper for TclWinNToHs, for change in calling convention
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 65be206be47a747f53c6ed1abe1a34ed068fada1
User & Date: jan.nijtmans 2012-08-23 20:18:52
Context
2012-08-24
06:33
make sure that extensions which might still use TclWinNToHS, now use ntohs directly. check-in: e9aa33ca4b user: jan.nijtmans tags: trunk
2012-08-23
20:18
small wrapper for TclWinNToHs, for change in calling convention check-in: 65be206be4 user: jan.nijtmans tags: trunk
20:06
small wrapper for TclWinNToHs, for change in calling convention check-in: 624e7971f7 user: jan.nijtmans tags: core-8-5-branch
12:11
[Bug 3496014] Unecessary memset() in Tcl_SetByteArrayObj(). check-in: f61c86cef1 user: jan.nijtmans tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to generic/tclStubInit.c.

49
50
51
52
53
54
55


56




57
58
59
60
61
62
63
#define TclSockMinimumBuffersOld sockMinimumBuffersOld
static int TclSockMinimumBuffersOld(int sock, int size)
{
    return TclSockMinimumBuffers(INT2PTR(sock), size);
}
#endif



#define TclWinNToHS ntohs





#ifdef __WIN32__
#   define TclUnixWaitForFile 0
#   define TclUnixCopyFile 0
#   define TclpReaddir 0
#   define TclpIsAtty 0
#elif defined(__CYGWIN__)







>
>
|
>
>
>
>







49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
#define TclSockMinimumBuffersOld sockMinimumBuffersOld
static int TclSockMinimumBuffersOld(int sock, int size)
{
    return TclSockMinimumBuffers(INT2PTR(sock), size);
}
#endif


#if defined(_WIN32) || defined(__CYGWIN__)
#define TclWinNToHS winNToHS
static unsigned short TclWinNToHS(unsigned short ns) {
	return ntohs(ns);
}
#endif

#ifdef __WIN32__
#   define TclUnixWaitForFile 0
#   define TclUnixCopyFile 0
#   define TclpReaddir 0
#   define TclpIsAtty 0
#elif defined(__CYGWIN__)