Tk Source Code

Check-in [f8055298]
Login

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

Overview
Comment:Another place where TCL_WIDE_INT_IS_LONG doesn't behave as expected on WIN64
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | revised_text | tip-466
Files: files | file ages | folders
SHA1: f80552981cbc2f849ef1af67e3114fa02be5149a
User & Date: jan.nijtmans 2017-03-21 12:58:48
References
2017-03-22
06:19
Reverting the destructive changes of [ab1bc6a5], [cd374e7d], and [f8055298]. In case of compile problems, please use the bug tracker. check-in: feff1159 user: gcramer tags: revised_text, tip-466
Context
2017-03-22
06:19
Reverting the destructive changes of [ab1bc6a5], [cd374e7d], and [f8055298]. In case of compile problems, please use the bug tracker. check-in: feff1159 user: gcramer tags: revised_text, tip-466
2017-03-21
12:58
Another place where TCL_WIDE_INT_IS_LONG doesn't behave as expected on WIN64 check-in: f8055298 user: jan.nijtmans tags: revised_text, tip-466
12:46
Remove unused macro's. Somewhat less length checking for "##ID##%p##%p##%u##" tag, since TCL_WIDE_INT_IS_LONG doesn't behave as expected on WIN64. check-in: cd374e7d user: jan.nijtmans tags: revised_text, tip-466
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to generic/tkBitField.h.

12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ifndef _TKBITFIELD
#define _TKBITFIELD

#include "tk.h"
#include "tkInt.h" /* needed for inline support */
#include "tkBool.h"

#ifdef TCL_WIDE_INT_IS_LONG
typedef uint64_t TkBitWord;
#else
typedef uint32_t TkBitWord;
#endif

#define TK_BIT_NBITS (sizeof(TkBitWord)*8) /* Number of bits in one word. */

struct TkIntSet;


/*







<
|
<
<
<







12
13
14
15
16
17
18

19



20
21
22
23
24
25
26
#ifndef _TKBITFIELD
#define _TKBITFIELD

#include "tk.h"
#include "tkInt.h" /* needed for inline support */
#include "tkBool.h"


typedef size_t TkBitWord;




#define TK_BIT_NBITS (sizeof(TkBitWord)*8) /* Number of bits in one word. */

struct TkIntSet;


/*