aboutsummaryrefslogtreecommitdiffstats
path: root/RichString.h
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2020-08-27 07:48:11 +0200
committerDaniel Lange <DLange@git.local>2020-08-27 07:48:11 +0200
commit7a637ff1dea1a02a42e55aa79f03a9e85a576207 (patch)
tree3d12e9808eb554ad8017fcd9059864f92d51d104 /RichString.h
parentdfb05211d32675faebac6fd76ef58d9e303a90e7 (diff)
parentf3147ea2d1598914c2db53e8cfb34c8ff81e2ff4 (diff)
downloaddebian_htop-7a637ff1dea1a02a42e55aa79f03a9e85a576207.tar.gz
debian_htop-7a637ff1dea1a02a42e55aa79f03a9e85a576207.tar.bz2
debian_htop-7a637ff1dea1a02a42e55aa79f03a9e85a576207.zip
Update upstream source from tag 'upstream/3.0.0'
Update to upstream version '3.0.0' with Debian dir 8c9e99b342a3fc4208a5abe239b39578f8563a2c
Diffstat (limited to 'RichString.h')
-rw-r--r--RichString.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/RichString.h b/RichString.h
index f5b5cba..d6fa635 100644
--- a/RichString.h
+++ b/RichString.h
@@ -63,7 +63,7 @@ typedef struct RichString_ {
#define CLAMP(x,low,high) (((x)>(high))?(high):(((x)<(low))?(low):(x)))
#endif
-#define charBytes(n) (sizeof(CharType) * (n))
+#define charBytes(n) (sizeof(CharType) * (n))
#define RichString_setLen(this, len) do{ if(len < RICHSTRING_MAXLEN && this->chlen < RICHSTRING_MAXLEN) { RichString_setChar(this,len,0); this->chlen=len; } else RichString_extendLen(this,len); }while(0)
@@ -71,24 +71,24 @@ typedef struct RichString_ {
extern void RichString_setAttrn(RichString* this, int attrs, int start, int finish);
-int RichString_findChar(RichString* this, char c, int start);
+extern int RichString_findChar(RichString* this, char c, int start);
#else
-void RichString_setAttrn(RichString* this, int attrs, int start, int finish);
+extern void RichString_setAttrn(RichString* this, int attrs, int start, int finish);
-int RichString_findChar(RichString* this, char c, int start);
+extern int RichString_findChar(RichString* this, char c, int start);
#endif
-void RichString_prune(RichString* this);
+extern void RichString_prune(RichString* this);
-void RichString_setAttr(RichString* this, int attrs);
+extern void RichString_setAttr(RichString* this, int attrs);
-void RichString_append(RichString* this, int attrs, const char* data);
+extern void RichString_append(RichString* this, int attrs, const char* data);
-void RichString_appendn(RichString* this, int attrs, const char* data, int len);
+extern void RichString_appendn(RichString* this, int attrs, const char* data, int len);
-void RichString_write(RichString* this, int attrs, const char* data);
+extern void RichString_write(RichString* this, int attrs, const char* data);
#endif

© 2014-2024 Faster IT GmbH | imprint | privacy policy