mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-12 12:14:36 +03:00
Mark Object classes and Object class fields const
This commit is contained in:

committed by
cgzones

parent
164051354f
commit
08d85e6143
4
Vector.h
4
Vector.h
@ -17,14 +17,14 @@ in the source distribution for its full text.
|
||||
|
||||
typedef struct Vector_ {
|
||||
Object **array;
|
||||
ObjectClass* type;
|
||||
const ObjectClass* type;
|
||||
int arraySize;
|
||||
int growthRate;
|
||||
int items;
|
||||
bool owner;
|
||||
} Vector;
|
||||
|
||||
Vector* Vector_new(ObjectClass* type, bool owner, int size);
|
||||
Vector* Vector_new(const ObjectClass* type, bool owner, int size);
|
||||
|
||||
void Vector_delete(Vector* this);
|
||||
|
||||
|
Reference in New Issue
Block a user