Cleanup: use bool for poll functions

This commit is contained in:
2018-07-02 11:47:00 +02:00
parent bfbfb1c47e
commit b88e51dd55
187 changed files with 600 additions and 595 deletions

View File

@@ -378,7 +378,7 @@ static void bpy_prop_boolean_set_cb(struct PointerRNA *ptr, struct PropertyRNA *
}
}
static int bpy_prop_poll_cb(struct PointerRNA *self, PointerRNA candidate, struct PropertyRNA *prop)
static bool bpy_prop_poll_cb(struct PointerRNA *self, PointerRNA candidate, struct PropertyRNA *prop)
{
PyObject *py_self;
PyObject *py_candidate;