Blob


1 #undef isalnum
2 #define isalnum runeisalnum
4 void keyboardsend(char*, int);
5 int whide(Window*);
6 int wunhide(int);
7 void freescrtemps(void);
8 int parsewctl(char**, Rectangle, Rectangle*, int*, int*, int*, int*, char**, char*, char*);
9 Window *new(Image*, int, int, int, char*, char*, char**);
10 void riosetcursor(Cursor*, int);
11 int min(int, int);
12 int max(int, int);
13 Rune* strrune(Rune*, Rune);
14 int isalnum(Rune);
15 void timerstop(Timer*);
16 void timercancel(Timer*);
17 Timer* timerstart(int);
18 void error(char*);
19 void killprocs(void);
20 int shutdown(void*, char*);
21 void iconinit(void);
22 void *erealloc(void*, uint);
23 void *emalloc(uint);
24 char *estrdup(char*);
25 void button3menu(void);
26 void button2menu(Window*);
27 void cvttorunes(char*, int, Rune*, int*, int*, int*);
28 /* was (byte*,int) runetobyte(Rune*, int); */
29 char* runetobyte(Rune*, int, int*);
30 void timerinit(void);
31 int goodrect(Rectangle);
32 int rawon(void);
33 void winterrupt(Window*);
34 int intrc(void);
36 #define runemalloc(n) malloc((n)*sizeof(Rune))
37 #define runerealloc(a, n) realloc(a, (n)*sizeof(Rune))
38 #define runemove(a, b, n) memmove(a, b, (n)*sizeof(Rune))
40 void rioputsnarf(void);
41 void riogetsnarf(void);