diff options
author | Daniel Lange <DLange@git.local> | 2021-01-11 20:43:27 +0100 |
---|---|---|
committer | Daniel Lange <DLange@git.local> | 2021-01-11 20:43:27 +0100 |
commit | c55320e9e2a8916e911bcd39ab37b79e3a7d03b2 (patch) | |
tree | d6be9a09fdf7d6dc155de3429a70697ee2bb43b0 /RichString.h | |
parent | 65357c8c46154de4e4eca14075bfe5523bb5fc14 (diff) | |
download | debian_htop-c55320e9e2a8916e911bcd39ab37b79e3a7d03b2.tar.gz debian_htop-c55320e9e2a8916e911bcd39ab37b79e3a7d03b2.tar.bz2 debian_htop-c55320e9e2a8916e911bcd39ab37b79e3a7d03b2.zip |
New upstream version 3.0.5upstream/3.0.5
Diffstat (limited to 'RichString.h')
-rw-r--r-- | RichString.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/RichString.h b/RichString.h index 262befc..4145b0d 100644 --- a/RichString.h +++ b/RichString.h @@ -42,7 +42,7 @@ typedef struct RichString_ { int highlightAttr; } RichString; -void RichString_setAttrn(RichString* this, int attrs, int start, int finish); +void RichString_setAttrn(RichString* this, int attrs, int start, int charcount); int RichString_findChar(RichString* this, char c, int start); @@ -52,10 +52,16 @@ void RichString_setAttr(RichString* this, int attrs); void RichString_appendChr(RichString* this, char c, int count); -void RichString_append(RichString* this, int attrs, const char* data); +int RichString_appendWide(RichString* this, int attrs, const char* data); -void RichString_appendn(RichString* this, int attrs, const char* data, int len); +int RichString_appendnWide(RichString* this, int attrs, const char* data, int len); -void RichString_write(RichString* this, int attrs, const char* data); +int RichString_writeWide(RichString* this, int attrs, const char* data); + +int RichString_appendAscii(RichString* this, int attrs, const char* data); + +int RichString_appendnAscii(RichString* this, int attrs, const char* data, int len); + +int RichString_writeAscii(RichString* this, int attrs, const char* data); #endif |