mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-12 04:04:35 +03:00

disable useless code in release builds such as runtime type-checking on dynamic data structures and process fields that are not being computed, faster(?) method for verifying the process owner (still need to ensure correctness), don't destroy and create process objects for hidden kernel threads over and over. Phew. I shouldn't be doing all this today, but I could not resist.
38 lines
641 B
C
38 lines
641 B
C
/* Do not edit this file. It was automatically generated. */
|
|
|
|
#ifndef HEADER_CheckItem
|
|
#define HEADER_CheckItem
|
|
/*
|
|
htop
|
|
(C) 2004-2006 Hisham H. Muhammad
|
|
Released under the GNU GPL, see the COPYING file
|
|
in the source distribution for its full text.
|
|
*/
|
|
|
|
#include "Object.h"
|
|
#include "CRT.h"
|
|
|
|
#include "debug.h"
|
|
|
|
|
|
typedef struct CheckItem_ {
|
|
Object super;
|
|
char* text;
|
|
bool* value;
|
|
} CheckItem;
|
|
|
|
|
|
#ifdef DEBUG
|
|
extern char* CHECKITEM_CLASS;
|
|
#else
|
|
#define CHECKITEM_CLASS NULL
|
|
#endif
|
|
|
|
CheckItem* CheckItem_new(char* text, bool* value);
|
|
|
|
void CheckItem_delete(Object* cast);
|
|
|
|
void CheckItem_display(Object* cast, RichString* out);
|
|
|
|
#endif
|