22 |
|
|
23 |
|
/* commands with word operands: */ |
24 |
|
|
25 |
– |
im_w(code, w) |
25 |
|
|
26 |
< |
int code; |
27 |
< |
unsigned int w; |
26 |
> |
void |
27 |
> |
im_w( |
28 |
> |
int code, |
29 |
> |
unsigned int w |
30 |
> |
) |
31 |
|
|
32 |
|
{ |
33 |
|
putc(code, imout); |
34 |
|
im_putword(w); |
35 |
|
} |
36 |
|
|
35 |
– |
im_www(code, wa, wb, wc) |
37 |
|
|
38 |
< |
int code; |
39 |
< |
unsigned int wa; |
40 |
< |
unsigned int wb; |
41 |
< |
unsigned int wc; |
38 |
> |
void |
39 |
> |
im_www( |
40 |
> |
int code, |
41 |
> |
unsigned int wa, |
42 |
> |
unsigned int wb, |
43 |
> |
unsigned int wc |
44 |
> |
) |
45 |
|
|
46 |
|
{ |
47 |
|
putc(code, imout); |
50 |
|
im_putword(wc); |
51 |
|
} |
52 |
|
|
49 |
– |
im_wwwww(code, wa, wb, wc, wd, we) |
53 |
|
|
54 |
< |
int code; |
55 |
< |
unsigned int wa; |
56 |
< |
unsigned int wb; |
57 |
< |
unsigned int wc; |
58 |
< |
unsigned int wd; |
59 |
< |
unsigned int we; |
54 |
> |
void |
55 |
> |
im_wwwww( |
56 |
> |
int code, |
57 |
> |
unsigned int wa, |
58 |
> |
unsigned int wb, |
59 |
> |
unsigned int wc, |
60 |
> |
unsigned int wd, |
61 |
> |
unsigned int we |
62 |
> |
) |
63 |
|
|
64 |
|
{ |
65 |
|
putc(code, imout); |
72 |
|
|
73 |
|
/* commands with bit operands: */ |
74 |
|
|
75 |
< |
im_21(code, b2, b1) /* pads 5 bits on left */ |
75 |
> |
void |
76 |
> |
im_21( /* pads 5 bits on left */ |
77 |
> |
int code, |
78 |
> |
unsigned int b2, |
79 |
> |
unsigned int b1 |
80 |
> |
) |
81 |
|
|
71 |
– |
unsigned int b2; |
72 |
– |
unsigned int b1; |
73 |
– |
|
82 |
|
{ |
83 |
|
putc(code, imout); |
84 |
|
im_putbyte((b2 << 1) | b1); |
85 |
|
} |
86 |
|
|
79 |
– |
im_223(code, b2a, b2b, b3) /* pads 1 bit on left */ |
87 |
|
|
88 |
< |
unsigned int b2a; |
89 |
< |
unsigned int b2b; |
90 |
< |
unsigned int b3; |
88 |
> |
void |
89 |
> |
im_223( /* pads 1 bit on left */ |
90 |
> |
int code, |
91 |
> |
unsigned int b2a, |
92 |
> |
unsigned int b2b, |
93 |
> |
unsigned int b3 |
94 |
> |
) |
95 |
|
|
96 |
|
{ |
97 |
|
putc(code, imout); |
98 |
|
im_putbyte((b2a << 5) | (b2b << 3) | b3); |
99 |
|
} |
100 |
|
|
90 |
– |
im_77(code, b7a, b7b) /* pads 2 bits on left */ |
101 |
|
|
102 |
< |
unsigned int b7a; |
103 |
< |
unsigned int b7b; |
102 |
> |
void |
103 |
> |
im_77( /* pads 2 bits on left */ |
104 |
> |
int code, |
105 |
> |
unsigned int b7a, |
106 |
> |
unsigned int b7b |
107 |
> |
) |
108 |
|
|
109 |
|
{ |
110 |
|
putc(code, imout); |
111 |
|
im_putword((b7a << 7) | b7b); |
112 |
|
} |
113 |
|
|
100 |
– |
im_putstring(string) |
114 |
|
|
115 |
< |
char *string; |
115 |
> |
void |
116 |
> |
im_putstring( |
117 |
> |
char *string |
118 |
> |
) |
119 |
|
|
120 |
|
{ |
121 |
|
fputs(string, imout); |
122 |
|
im_putbyte(0); |
123 |
|
} |
124 |
|
|
125 |
+ |
|
126 |
+ |
void |
127 |
|
imCreateFamilyTable(va_alist) |
128 |
|
|
129 |
|
va_dcl |
158 |
|
va_end(vars); |
159 |
|
} |
160 |
|
|
161 |
+ |
|
162 |
+ |
void |
163 |
|
imCreatePath(va_alist) |
164 |
|
|
165 |
|
va_dcl |
189 |
|
} |
190 |
|
} |
191 |
|
|
172 |
– |
imCreatePathV(count, vec) |
192 |
|
|
193 |
< |
unsigned int count; |
194 |
< |
unsigned int *vec; |
193 |
> |
void |
194 |
> |
imCreatePathV( |
195 |
> |
unsigned int count, |
196 |
> |
unsigned int *vec |
197 |
> |
) |
198 |
|
|
199 |
|
{ |
200 |
|
/* write the first part of the command */ |