python: apply const method annotations to impls.

This commit is contained in:
Jacob Oursland
2025-04-16 20:29:19 -07:00
parent 7046f908f4
commit 5c251e73ac
69 changed files with 508 additions and 515 deletions

View File

@@ -128,7 +128,7 @@ inline bool asBoolean(PyObject *obj) {
public: \
static PyTypeObject Type; \
static PyMethodDef Methods[]; \
virtual PyTypeObject *GetType(void) {return &Type;}
virtual PyTypeObject *GetType(void) const {return &Type;}
/*------------------------------
* PyObjectBase