diff options
Diffstat (limited to 'RichString.h')
-rw-r--r-- | RichString.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/RichString.h b/RichString.h index 64ad7aff..1f486781 100644 --- a/RichString.h +++ b/RichString.h @@ -14,6 +14,9 @@ #define RICHSTRING_MAXLEN 300 +#define RichString_init(this) (this)->len = 0 +#define RichString_initVal(this) (this).len = 0 + typedef struct RichString_ { int len; chtype chstr[RICHSTRING_MAXLEN+1]; @@ -24,12 +27,6 @@ typedef struct RichString_ { #define MIN(a,b) ((a)<(b)?(a):(b)) #endif -RichString RichString_new(); - -void RichString_delete(RichString this); - -void RichString_prune(RichString* this); - void RichString_write(RichString* this, int attrs, char* data); inline void RichString_append(RichString* this, int attrs, char* data); |