Squashed commit of the following: [reprs_and_member_names]
Closes #22 Closes #23 Closes #24 Closes #25 Closes #31 Closes #56 commit43fac8f4f3Author: John McCardle <mccardle.john@gmail.com> Date: Sat Apr 20 18:32:52 2024 -0400 Typo in UIFrame repr commit3fd5ad93e2Author: John McCardle <mccardle.john@gmail.com> Date: Sat Apr 20 18:32:30 2024 -0400 Add UIGridPoint and UIGridPointState repr commit03376897b8Author: John McCardle <mccardle.john@gmail.com> Date: Sat Apr 20 18:32:17 2024 -0400 Add UIGrid repr commit48af072a33Author: John McCardle <mccardle.john@gmail.com> Date: Sat Apr 20 18:32:05 2024 -0400 Add UIEntity repr
This commit is contained in:
parent
c2de9b08d6
commit
232105a893
7 changed files with 76 additions and 5 deletions
|
|
@ -55,6 +55,7 @@ public:
|
|||
static int set_spritenumber(PyUIEntityObject* self, PyObject* value, void* closure);
|
||||
static PyMethodDef methods[];
|
||||
static PyGetSetDef getsetters[];
|
||||
static PyObject* repr(PyUIEntityObject* self);
|
||||
};
|
||||
|
||||
namespace mcrfpydef {
|
||||
|
|
@ -63,7 +64,7 @@ namespace mcrfpydef {
|
|||
.tp_name = "mcrfpy.Entity",
|
||||
.tp_basicsize = sizeof(PyUIEntityObject),
|
||||
.tp_itemsize = 0,
|
||||
// Methods omitted for brevity
|
||||
.tp_repr = (reprfunc)UIEntity::repr,
|
||||
.tp_flags = Py_TPFLAGS_DEFAULT,
|
||||
.tp_doc = "UIEntity objects",
|
||||
.tp_methods = UIEntity::methods,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue