diff options
Diffstat (limited to 'Row.h')
-rw-r--r-- | Row.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -81,7 +81,7 @@ typedef void (*Row_WriteField)(const Row*, RichString*, RowField); typedef bool (*Row_IsHighlighted)(const Row*); typedef bool (*Row_IsVisible)(const Row*, const struct Table_*); typedef bool (*Row_MatchesFilter)(const Row*, const struct Table_*); -typedef const char* (*Row_SortKeyString)(const Row*); +typedef const char* (*Row_SortKeyString)(Row*); typedef int (*Row_CompareByParent)(const Row*, const Row*); int Row_compare(const void* v1, const void* v2); @@ -120,6 +120,8 @@ extern const RowClass Row_class; void Row_init(Row* this, const struct Machine_* host); +void Row_done(Row* this); + void Row_display(const Object* cast, RichString* out); void Row_toggleTag(Row* this); @@ -155,7 +157,7 @@ void Row_printTime(RichString* str, unsigned long long totalHundredths, bool col /* Takes rate in bare unit (base 1024) per second. Prints 12 columns. */ void Row_printRate(RichString* str, double rate, bool coloring); -void Row_printPercentage(float val, char* buffer, size_t n, uint8_t width, int* attr); +int Row_printPercentage(float val, char* buffer, size_t n, uint8_t width, int* attr); void Row_display(const Object* cast, RichString* out); |