summaryrefslogtreecommitdiffstats
path: root/contrib/tools/python3/Modules/tkinter.h
diff options
context:
space:
mode:
authormaxim-yurchuk <[email protected]>2024-10-09 12:29:46 +0300
committermaxim-yurchuk <[email protected]>2024-10-09 13:14:22 +0300
commit9731d8a4bb7ee2cc8554eaf133bb85498a4c7d80 (patch)
treea8fb3181d5947c0d78cf402aa56e686130179049 /contrib/tools/python3/Modules/tkinter.h
parenta44b779cd359f06c3ebbef4ec98c6b38609d9d85 (diff)
publishFullContrib: true for ydb
<HIDDEN_URL> commit_hash:c82a80ac4594723cebf2c7387dec9c60217f603e
Diffstat (limited to 'contrib/tools/python3/Modules/tkinter.h')
-rw-r--r--contrib/tools/python3/Modules/tkinter.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/contrib/tools/python3/Modules/tkinter.h b/contrib/tools/python3/Modules/tkinter.h
new file mode 100644
index 00000000000..40281c21760
--- /dev/null
+++ b/contrib/tools/python3/Modules/tkinter.h
@@ -0,0 +1,19 @@
+#ifndef TKINTER_H
+#define TKINTER_H
+
+/* This header is used to share some macros between _tkinter.c and
+ * tkappinit.c.
+ * Be sure to include tk.h before including this header so
+ * TK_HEX_VERSION is properly defined. */
+
+/* TK_RELEASE_LEVEL is always one of the following:
+ * TCL_ALPHA_RELEASE 0
+ * TCL_BETA_RELEASE 1
+ * TCL_FINAL_RELEASE 2
+ */
+#define TK_HEX_VERSION ((TK_MAJOR_VERSION << 24) | \
+ (TK_MINOR_VERSION << 16) | \
+ (TK_RELEASE_LEVEL << 8) | \
+ (TK_RELEASE_SERIAL << 0))
+
+#endif /* !TKINTER_H */