https://github.com/python/cpython
Revision dd44ab994b7262f0704d64996e0a1bc37b233407 authored by neonene on 01 April 2024, 13:28:14 UTC, committed by GitHub on 01 April 2024, 13:28:14 UTC
Integrates the following ctypes meta tp slot functions:
* `CDataType_traverse()` into `CType_Type_traverse()`.
* `CDataType_clear()` into `CType_Type_clear()`.
* `CDataType_dealloc()` into `CType_Type_dealloc()`.
* `CDataType_repeat()` into `CType_Type_repeat()`.
1 parent 3de09ca
Raw File
Tip revision: dd44ab994b7262f0704d64996e0a1bc37b233407 authored by neonene on 01 April 2024, 13:28:14 UTC
gh-117142: ctypes: Unify meta tp slot functions (GH-117143)
Tip revision: dd44ab9
tkinter.h
#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 */
back to top