diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2021-03-12 16:46:55 +0100 |
---|---|---|
committer | Christian Göttsche <cgzones@googlemail.com> | 2021-03-12 16:46:55 +0100 |
commit | d37d66bb3a089b9e66c6629a4855560984ac720d (patch) | |
tree | 1bc77669da335f53eff7d64687809c748a36c34c /Vector.h | |
parent | 3f99c2de245e950b8004fde023e45a0dd6389381 (diff) |
InfoScreen/ProcessList: do not access Vector internals
Use wrapper function to encapsulate the Vector structure
Diffstat (limited to 'Vector.h')
-rw-r--r-- | Vector.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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); |