Cleanup: Move rna_access.c to C++

See #103343

Pull Request #105060
This commit is contained in:
2023-02-22 14:04:57 +01:00
committed by Hans Goudey
parent 140a663f6f
commit 709013dca4
4 changed files with 294 additions and 274 deletions

View File

@@ -5256,7 +5256,7 @@ static int foreach_parse_args(BPy_PropertyRNA *self,
target_tot = array_tot * (*r_attr_tot);
/* rna_access.c - rna_raw_access(...) uses this same method. */
/* rna_access.cc - rna_raw_access(...) uses this same method. */
if (target_tot != (*r_tot)) {
PyErr_Format(PyExc_TypeError,
"foreach_get(attr, sequence) sequence length mismatch given %d, needed %d",