diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2024-01-16 15:58:05 +0100 |
---|---|---|
committer | cgzones <cgzones@googlemail.com> | 2024-01-20 11:53:25 +0100 |
commit | 85e4e0219311eff496a692a9481bfd995a0b9738 (patch) | |
tree | 40930f02e013ece9a0b47f385f065cac90162232 | |
parent | db65f175ab44320911ec5da01ab9dcd858dda9c0 (diff) |
RichString: add access function annotations
-rw-r--r-- | RichString.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/RichString.h b/RichString.h index 70ca2748..7783378b 100644 --- a/RichString.h +++ b/RichString.h @@ -7,6 +7,7 @@ Released under the GNU GPLv2+, see the COPYING file in the source distribution for its full text. */ +#include "Macros.h" #include "ProvideCurses.h" @@ -61,6 +62,7 @@ void RichString_appendChr(RichString* this, int attrs, char c, int count); int RichString_appendWide(RichString* this, int attrs, const char* data); +ATTR_ACCESS3_R(3, 4) int RichString_appendnWide(RichString* this, int attrs, const char* data, int len); /* columns takes the maximum number of columns to write and contains on return the number of columns written. */ @@ -70,6 +72,7 @@ int RichString_writeWide(RichString* this, int attrs, const char* data); int RichString_appendAscii(RichString* this, int attrs, const char* data); +ATTR_ACCESS3_R(3, 4) int RichString_appendnAscii(RichString* this, int attrs, const char* data, int len); int RichString_writeAscii(RichString* this, int attrs, const char* data); |