From 85bb4ad9cb820ac3b8e935a930084a06cbfd2847 Mon Sep 17 00:00:00 2001 From: Daniel Lange Date: Mon, 11 Apr 2016 13:00:20 +0200 Subject: Imported Upstream version 0.6.3 --- RichString.h | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'RichString.h') diff --git a/RichString.h b/RichString.h index f59c576..1f48678 100644 --- a/RichString.h +++ b/RichString.h @@ -1,4 +1,4 @@ -/* Do not edit this file. It was automatically genarated. */ +/* Do not edit this file. It was automatically generated. */ #ifndef HEADER_RichString #define HEADER_RichString @@ -7,7 +7,6 @@ #include #include #include -#include #include "debug.h" #include @@ -15,18 +14,18 @@ #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]; } RichString; - -RichString RichString_new(); - -void RichString_delete(RichString this); - -void RichString_prune(RichString* this); +#ifndef MIN +#define MIN(a,b) ((a)<(b)?(a):(b)) +#endif void RichString_write(RichString* this, int attrs, char* data); -- cgit v1.2.3