Commit 49d7efd
committed
Rename/change signature of PyGlyph_new.
Unlike all other ExtensionType_new functions, PyGlyph_new is not a
tp_new (https://docs.python.org/3/c-api/typeobj.html#c.PyTypeObject.tp_new)
but simply a plain C function used to construct a struct from the fields
of a FT2Font. Rename it to avoid confusion, and make it take a single
FT2Font as argument, too (with some additional fixes for
const-correctness).1 parent 3eadeac commit 49d7efd
2 files changed
+13
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
| 104 | + | |
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
| 108 | + | |
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
| 112 | + | |
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
| 116 | + | |
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
182 | | - | |
| 182 | + | |
183 | 183 | | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
184 | 189 | | |
185 | 190 | | |
186 | 191 | | |
| |||
625 | 630 | | |
626 | 631 | | |
627 | 632 | | |
628 | | - | |
629 | | - | |
630 | | - | |
631 | | - | |
| 633 | + | |
632 | 634 | | |
633 | 635 | | |
634 | 636 | | |
| |||
664 | 666 | | |
665 | 667 | | |
666 | 668 | | |
667 | | - | |
668 | | - | |
669 | | - | |
670 | | - | |
| 669 | + | |
671 | 670 | | |
672 | 671 | | |
673 | 672 | | |
| |||
0 commit comments