Mercurial > cpython-lru_cache-weakref
annotate Modules/tkinter.h @ 51611:dfcf690a67c8 legacy-trunk
Add optional code signing after merging.
| author | Martin v. Löwis <martin@v.loewis.de> |
|---|---|
| date | Fri, 13 Feb 2009 20:51:48 +0000 |
| parents | ac9ef7431c8f |
| children | 06b64178a30d |
| rev | line source |
|---|---|
|
51502
ac9ef7431c8f
This header was supposed to be committed in r69476
Guilherme Polo <ggpolo@gmail.com>
parents:
diff
changeset
|
1 #ifndef TKINTER_H |
|
ac9ef7431c8f
This header was supposed to be committed in r69476
Guilherme Polo <ggpolo@gmail.com>
parents:
diff
changeset
|
2 #define TKINTER_H |
|
ac9ef7431c8f
This header was supposed to be committed in r69476
Guilherme Polo <ggpolo@gmail.com>
parents:
diff
changeset
|
3 |
|
ac9ef7431c8f
This header was supposed to be committed in r69476
Guilherme Polo <ggpolo@gmail.com>
parents:
diff
changeset
|
4 /* This header is used to share some macros between _tkinter.c and |
|
ac9ef7431c8f
This header was supposed to be committed in r69476
Guilherme Polo <ggpolo@gmail.com>
parents:
diff
changeset
|
5 * tkappinit.c */ |
|
ac9ef7431c8f
This header was supposed to be committed in r69476
Guilherme Polo <ggpolo@gmail.com>
parents:
diff
changeset
|
6 |
|
ac9ef7431c8f
This header was supposed to be committed in r69476
Guilherme Polo <ggpolo@gmail.com>
parents:
diff
changeset
|
7 /* TK_RELEASE_LEVEL is always one of the following: |
|
ac9ef7431c8f
This header was supposed to be committed in r69476
Guilherme Polo <ggpolo@gmail.com>
parents:
diff
changeset
|
8 * TCL_ALPHA_RELEASE 0 |
|
ac9ef7431c8f
This header was supposed to be committed in r69476
Guilherme Polo <ggpolo@gmail.com>
parents:
diff
changeset
|
9 * TCL_BETA_RELEASE 1 |
|
ac9ef7431c8f
This header was supposed to be committed in r69476
Guilherme Polo <ggpolo@gmail.com>
parents:
diff
changeset
|
10 * TCL_FINAL_RELEASE 2 |
|
ac9ef7431c8f
This header was supposed to be committed in r69476
Guilherme Polo <ggpolo@gmail.com>
parents:
diff
changeset
|
11 */ |
|
ac9ef7431c8f
This header was supposed to be committed in r69476
Guilherme Polo <ggpolo@gmail.com>
parents:
diff
changeset
|
12 #define TK_VERSION_HEX ((TK_MAJOR_VERSION << 24) | \ |
|
ac9ef7431c8f
This header was supposed to be committed in r69476
Guilherme Polo <ggpolo@gmail.com>
parents:
diff
changeset
|
13 (TK_MINOR_VERSION << 16) | \ |
|
ac9ef7431c8f
This header was supposed to be committed in r69476
Guilherme Polo <ggpolo@gmail.com>
parents:
diff
changeset
|
14 (TK_RELEASE_SERIAL << 8) | \ |
|
ac9ef7431c8f
This header was supposed to be committed in r69476
Guilherme Polo <ggpolo@gmail.com>
parents:
diff
changeset
|
15 (TK_RELEASE_LEVEL << 0)) |
|
ac9ef7431c8f
This header was supposed to be committed in r69476
Guilherme Polo <ggpolo@gmail.com>
parents:
diff
changeset
|
16 |
|
ac9ef7431c8f
This header was supposed to be committed in r69476
Guilherme Polo <ggpolo@gmail.com>
parents:
diff
changeset
|
17 /* Protect Tk 8.4.13 and older from a deadlock that happens when trying |
|
ac9ef7431c8f
This header was supposed to be committed in r69476
Guilherme Polo <ggpolo@gmail.com>
parents:
diff
changeset
|
18 * to load tk after a failed attempt. */ |
|
ac9ef7431c8f
This header was supposed to be committed in r69476
Guilherme Polo <ggpolo@gmail.com>
parents:
diff
changeset
|
19 #if TK_VERSION_HEX < 0x08040e02 |
|
ac9ef7431c8f
This header was supposed to be committed in r69476
Guilherme Polo <ggpolo@gmail.com>
parents:
diff
changeset
|
20 #define TKINTER_PROTECT_LOADTK |
|
ac9ef7431c8f
This header was supposed to be committed in r69476
Guilherme Polo <ggpolo@gmail.com>
parents:
diff
changeset
|
21 #define TKINTER_LOADTK_ERRMSG \ |
|
ac9ef7431c8f
This header was supposed to be committed in r69476
Guilherme Polo <ggpolo@gmail.com>
parents:
diff
changeset
|
22 "Calling Tk_Init again after a previous call failed might deadlock" |
|
ac9ef7431c8f
This header was supposed to be committed in r69476
Guilherme Polo <ggpolo@gmail.com>
parents:
diff
changeset
|
23 #endif |
|
ac9ef7431c8f
This header was supposed to be committed in r69476
Guilherme Polo <ggpolo@gmail.com>
parents:
diff
changeset
|
24 |
|
ac9ef7431c8f
This header was supposed to be committed in r69476
Guilherme Polo <ggpolo@gmail.com>
parents:
diff
changeset
|
25 #endif /* !TKINTER_H */ |
