annotate pixmaps/tb_maxwidth.xpm @ 33491:e6c00b4c3ee5 v9.0.1996

patch 9.0.1996: Cannot build with python312 Commit: https://github.com/vim/vim/commit/fa145f200966e47e11c403520374d6d37cfd1de7 Author: Ken Takata <kentkt@csc.jp> Date: Fri Oct 6 19:27:13 2023 +0200 patch 9.0.1996: Cannot build with python312 Problem: Cannot build with python312 Solution: Define wrapper types and functions for python 3.12 Py_SIZE() uses PyLong_Type and PyBool_Type starting from Python 3.12. We need to define our own Py_SIZE() to replace Py{Bool,Long}_Type with py3_Py{Bool,Long}_Type. We also need to redefine PyTuple_GET_SIZE() and PyList_GET_SIZE(), because they use Py_SIZE(). closes: #13281 closes: #13290 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Ken Takata <kentkt@csc.jp>
author Christian Brabandt <cb@256bit.org>
date Fri, 06 Oct 2023 19:45:03 +0200
parents 3fc0f57ecb91
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 /* XPM */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 static char * tb_maxwidth_xpm[] = {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 /* width height ncolors cpp [x_hot y_hot] */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 "18 18 5 1 0 0",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 /* colors */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 " s none m none c none",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 ". s topShadowColor m none c #DCDEE5",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 "X s iconColor1 m black c #000000",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 "o s iconColor2 m none c #FFFFFF",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 "O s bottomShadowColor m black c #5D6069",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 /* pixels */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 " ",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 " ",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 " ",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 " ",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 ".XXXXXXXXXXXXXXXX ",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 ".X.............oX ",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 ".X..X........X.oXO",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 ".X.XX........XXoXO",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 ".XXXX........XXXXO",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 ".X.XX........XXoXO",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 ".X..X........X.oXO",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 ".XooooooooooooooXO",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 ".XXXXXXXXXXXXXXXXO",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 " OOOOOOOOOOOOOOO",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 " ",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 " ",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 " ",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 " "};