1 #ifndef TKINTER_H
2 #define TKINTER_H
3
4 /* This header is used to share some macros between _tkinter.c and
5 * tkappinit.c.
6 * Be sure to include tk.h before including this header so
7 * TK_HEX_VERSION is properly defined. */
8
9 /* TK_RELEASE_LEVEL is always one of the following:
10 * TCL_ALPHA_RELEASE 0
11 * TCL_BETA_RELEASE 1
12 * TCL_FINAL_RELEASE 2
13 */
14 #define TK_HEX_VERSION ((TK_MAJOR_VERSION << 24) | \
15 (TK_MINOR_VERSION << 16) | \
16 (TK_RELEASE_LEVEL << 8) | \
17 (TK_RELEASE_SERIAL << 0))
18
19 #endif /* !TKINTER_H */