mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-12 12:14:36 +03:00
Updates for new version of the MakeHeader.py script.
This commit is contained in:
6
Vector.c
6
Vector.c
@ -58,8 +58,7 @@ void Vector_delete(Vector* this) {
|
||||
free(this);
|
||||
}
|
||||
|
||||
/* private */
|
||||
bool Vector_isConsistent(Vector* this) {
|
||||
static inline bool Vector_isConsistent(Vector* this) {
|
||||
if (this->owner) {
|
||||
for (int i = 0; i < this->items; i++)
|
||||
if (this->array[i] && this->array[i]->class != this->vectorType)
|
||||
@ -107,8 +106,7 @@ void Vector_sort(Vector* this) {
|
||||
*/
|
||||
}
|
||||
|
||||
/* private */
|
||||
void Vector_checkArraySize(Vector* this) {
|
||||
static void Vector_checkArraySize(Vector* this) {
|
||||
assert(Vector_isConsistent(this));
|
||||
if (this->items >= this->arraySize) {
|
||||
int i;
|
||||
|
Reference in New Issue
Block a user