aboutsummaryrefslogtreecommitdiffstats
path: root/RichString.h
blob: f59c5765c733f47f9c6de2261e68d7529847a72a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/* Do not edit this file. It was automatically genarated. */

#ifndef HEADER_RichString
#define HEADER_RichString


#include <stdlib.h>
#include <string.h>
#include <curses.h>
#include <sys/param.h>

#include "debug.h"
#include <assert.h>

#define RICHSTRING_MAXLEN 300


typedef struct RichString_ {
   int len;
   chtype chstr[RICHSTRING_MAXLEN+1];
} RichString;



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);

inline void RichString_appendn(RichString* this, int attrs, char* data, int len);

void RichString_setAttr(RichString *this, int attrs);

void RichString_applyAttr(RichString *this, int attrs);

RichString RichString_quickString(int attrs, char* data);

#endif

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