Process: do not access RichString internals

Use wrapper macro to encapsulate the RichString structure
This commit is contained in:
Christian Göttsche 2021-03-12 16:46:04 +01:00
parent bea7f8e7af
commit 3f99c2de24

View File

@ -426,7 +426,7 @@ void Process_display(const Object* cast, RichString* out) {
}
}
assert(out->chlen > 0);
assert(RichString_size(out) > 0);
}
void Process_done(Process* this) {