InfoScreen/ProcessList: do not access Vector internals

Use wrapper function to encapsulate the Vector structure
This commit is contained in:
Christian Göttsche
2021-03-12 16:46:55 +01:00
parent 3f99c2de24
commit d37d66bb3a
3 changed files with 6 additions and 2 deletions

View File

@ -68,6 +68,10 @@ static inline int Vector_size(const Vector* this) {
#endif /* NDEBUG */
static inline const ObjectClass* Vector_type(const Vector* this) {
return this->type;
}
void Vector_add(Vector* this, void* data_);
int Vector_indexOf(const Vector* this, const void* search_, Object_Compare compare);