I hate seeing repeated code structures. We could simplify the mark() entry in plenty of PMCs with a macro something like:
#define MARK_UNLESS_NULL(interp, struct, name) \ if (struct->name) \ pobject_lives(interp, (PObj *)struct->name) -- c
I hate seeing repeated code structures. We could simplify the mark() entry in plenty of PMCs with a macro something like:
#define MARK_UNLESS_NULL(interp, struct, name) \ if (struct->name) \ pobject_lives(interp, (PObj *)struct->name) -- c