| 1 |
--- a/plugins/cfpython/cfpython_archetype.c |
| 2 |
+++ b/plugins/cfpython/cfpython_archetype.c |
| 3 |
@@ -133,7 +133,7 @@ |
| 4 |
sizeof(Crossfire_Archetype), /* tp_basicsize*/ |
| 5 |
0, /* tp_itemsize*/ |
| 6 |
NULL, /* tp_dealloc*/ |
| 7 |
- NULL, /* tp_print*/ |
| 8 |
+ 0, /* tp_vectorcall_offset */ |
| 9 |
NULL, /* tp_getattr*/ |
| 10 |
NULL, /* tp_setattr*/ |
| 11 |
#ifdef IS_PY3K |
| 12 |
--- a/plugins/cfpython/cfpython_object.c |
| 13 |
+++ b/plugins/cfpython/cfpython_object.c |
| 14 |
@@ -2956,7 +2956,7 @@ |
| 15 |
sizeof(Crossfire_Object), /* tp_basicsize*/ |
| 16 |
0, /* tp_itemsize*/ |
| 17 |
Crossfire_Object_dealloc, /* tp_dealloc*/ |
| 18 |
- NULL, /* tp_print*/ |
| 19 |
+ 0, /* tp_vectorcall_offset */ |
| 20 |
NULL, /* tp_getattr*/ |
| 21 |
NULL, /* tp_setattr*/ |
| 22 |
#ifdef IS_PY3K |
| 23 |
@@ -3040,7 +3040,7 @@ |
| 24 |
sizeof(Crossfire_Player), /* tp_basicsize*/ |
| 25 |
0, /* tp_itemsize*/ |
| 26 |
Crossfire_Player_dealloc, /* tp_dealloc*/ |
| 27 |
- NULL, /* tp_print*/ |
| 28 |
+ 0, /* tp_vectorcall_offset */ |
| 29 |
NULL, /* tp_getattr*/ |
| 30 |
NULL, /* tp_setattr*/ |
| 31 |
NULL, /* tp_compare*/ |
| 32 |
--- a/plugins/cfpython/cfpython_map.c |
| 33 |
+++ b/plugins/cfpython/cfpython_map.c |
| 34 |
@@ -560,7 +560,7 @@ |
| 35 |
sizeof(Crossfire_Map), /* tp_basicsize*/ |
| 36 |
0, /* tp_itemsize*/ |
| 37 |
Crossfire_Map_dealloc, /* tp_dealloc*/ |
| 38 |
- NULL, /* tp_print*/ |
| 39 |
+ 0, /* tp_vectorcall_offset */ |
| 40 |
NULL, /* tp_getattr*/ |
| 41 |
NULL, /* tp_setattr*/ |
| 42 |
#ifdef IS_PY3K |
| 43 |
--- a/plugins/cfpython/cfpython_party.c |
| 44 |
+++ b/plugins/cfpython/cfpython_party.c |
| 45 |
@@ -132,7 +132,7 @@ |
| 46 |
sizeof(Crossfire_Party), /* tp_basicsize*/ |
| 47 |
0, /* tp_itemsize*/ |
| 48 |
NULL, /* tp_dealloc*/ |
| 49 |
- NULL, /* tp_print*/ |
| 50 |
+ 0, /* tp_vectorcall_offset */ |
| 51 |
NULL, /* tp_getattr*/ |
| 52 |
NULL, /* tp_setattr*/ |
| 53 |
#ifdef IS_PY3K |
| 54 |
--- a/plugins/cfpython/cfpython_region.c |
| 55 |
+++ b/plugins/cfpython/cfpython_region.c |
| 56 |
@@ -143,7 +143,7 @@ |
| 57 |
sizeof(Crossfire_Region), /* tp_basicsize*/ |
| 58 |
0, /* tp_itemsize*/ |
| 59 |
NULL, /* tp_dealloc*/ |
| 60 |
- NULL, /* tp_print*/ |
| 61 |
+ 0, /* tp_vectorcall_offset */ |
| 62 |
NULL, /* tp_getattr*/ |
| 63 |
NULL, /* tp_setattr*/ |
| 64 |
#ifdef IS_PY3K |