-
Notifications
You must be signed in to change notification settings - Fork 21
/
ncurses-generated-sigs.rb
356 lines (355 loc) · 15.4 KB
/
ncurses-generated-sigs.rb
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
# this list of function signatures was generated by the file
# generate-ffi-ncurses-function-signatures.rb and inserted here by hand
functions =
[
[:COLOR_PAIR, [:int], :int],
[:PAIR_NUMBER, [:int], :int],
[:_nc_tracebits, [], :string],
[:_nc_visbuf, [:string], :string],
[:_traceattr2, [:int, :uint], :string],
[:_traceattr, [:uint], :string],
[:_tracecchar_t2, [:int, :pointer], :string],
[:_tracecchar_t, [:pointer], :string],
[:_tracechar, [:int], :string],
[:_tracechtype2, [:int, :uint], :string],
[:_tracechtype, [:uint], :string],
[:_tracedump, [:string, :pointer], :void],
[:_tracef, [:string, :varargs], :void],
[:_tracemouse, [:pointer], :string],
[:add_wchnstr, [:pointer, :int], :int],
[:add_wch, [:pointer], :int],
[:add_wchstr, [:pointer], :int],
[:addchnstr, [:pointer, :int], :int],
[:addchstr, [:pointer], :int],
[:addch, [:uint], :int],
[:addnstr, [:string, :int], :int],
[:addstr, [:string], :int],
[:assume_default_colors, [:int, :int], :int],
[:attr_get, [:pointer, :pointer, :pointer], :int],
[:attr_off, [:uint, :pointer], :int],
[:attr_on, [:uint, :pointer], :int],
[:attr_set, [:uint, :short, :pointer], :int],
[:attroff, [:uint], :int],
[:attron, [:uint], :int],
[:attrset, [:uint], :int],
[:baudrate, [], :int],
[:beep, [], :int],
[:bkgdset, [:uint], :void],
[:bkgd, [:uint], :int],
[:bkgrnd, [:pointer], :int],
[:bkgrndset, [:pointer], :void],
[:border_set, [:pointer, :pointer, :pointer, :pointer, :pointer, :pointer, :pointer, :pointer], :int],
[:border, [:uint, :uint, :uint, :uint, :uint, :uint, :uint, :uint], :int],
[:box_set, [:pointer, :pointer, :pointer], :int],
[:box, [:pointer, :uint, :uint], :int],
[:can_change_color, [], :int],
[:cbreak, [], :int],
[:chgat, [:int, :uint, :short, :pointer], :int],
[:clear, [], :int],
[:clearok, [:pointer, :int], :int],
[:clrtobot, [], :int],
[:clrtoeol, [], :int],
[:color_content, [:short, :pointer, :pointer, :pointer], :int],
[:color_set, [:short, :pointer], :int],
[:copywin, [:pointer, :pointer, :int, :int, :int, :int, :int, :int, :int], :int],
[:curs_set, [:int], :int],
[:curses_version, [], :string],
[:def_prog_mode, [], :int],
[:def_shell_mode, [], :int],
[:define_key, [:string, :int], :int],
[:delay_output, [:int], :int],
[:delch, [], :int],
[:deleteln, [], :int],
[:delscreen, [:pointer], :void],
[:delwin, [:pointer], :int],
[:derwin, [:pointer, :int, :int, :int, :int], :pointer],
[:doupdate, [], :int],
[:dupwin, [:pointer], :pointer],
[:echo_wchar, [:pointer], :int],
[:echochar, [:uint], :int],
[:echo, [], :int],
[:endwin, [], :int],
[:erasechar, [], :char],
[:erase, [], :int],
[:filter, [], :void],
[:flash, [], :int],
[:flushinp, [], :int],
[:getbkgd, [:pointer], :uint],
[:getbkgrnd, [:pointer], :int],
[:getch, [], :int],
[:getmouse, [:pointer], :int],
[:getnstr, [:string, :int], :int],
[:getstr, [:string], :int],
[:getwin, [:pointer], :pointer],
[:halfdelay, [:int], :int],
[:has_colors, [], :int],
[:has_ic, [], :int],
[:has_il, [], :int],
[:has_key, [:int], :int],
[:hline_set, [:pointer, :int], :int],
[:hline, [:uint, :int], :int],
[:idcok, [:pointer, :int], :void],
[:idlok, [:pointer, :int], :int],
[:immedok, [:pointer, :int], :void],
[:in_wchnstr, [:pointer, :int], :int],
[:in_wch, [:pointer], :int],
[:in_wchstr, [:pointer], :int],
[:inchnstr, [:pointer, :int], :int],
[:inchstr, [:pointer], :int],
[:inch, [], :uint],
[:init_color, [:short, :short, :short, :short], :int],
[:init_pair, [:short, :short, :short], :int],
[:initscr, [], :pointer],
[:innstr, [:string, :int], :int],
[:ins_wch, [:pointer], :int],
[:insch, [:uint], :int],
[:insdelln, [:int], :int],
[:insertln, [], :int],
[:insnstr, [:string, :int], :int],
[:insstr, [:string], :int],
[:instr, [:string], :int],
[:intrflush, [:pointer, :int], :int],
[:is_linetouched, [:pointer, :int], :int],
[:is_term_resized, [:int, :int], :int],
[:is_wintouched, [:pointer], :int],
[:isendwin, [], :int],
[:key_defined, [:string], :int],
[:keybound, [:int, :int], :string],
[:keyname, [:int], :string],
[:keyok, [:int, :int], :int],
[:keypad, [:pointer, :int], :int],
[:killchar, [], :char],
[:leaveok, [:pointer, :int], :int],
[:longname, [], :string],
[:mcprint, [:string, :int], :int],
[:meta, [:pointer, :int], :int],
[:mouse_trafo, [:pointer, :pointer, :int], :int],
[:mouseinterval, [:int], :int],
[:mousemask, [:uint, :pointer], :uint],
[:move, [:int, :int], :int],
[:mvadd_wch, [:int, :int, :pointer], :int],
[:mvadd_wchnstr, [:int, :int, :pointer, :int], :int],
[:mvadd_wchstr, [:int, :int, :pointer], :int],
[:mvaddch, [:int, :int, :uint], :int],
[:mvaddchnstr, [:int, :int, :pointer, :int], :int],
[:mvaddchstr, [:int, :int, :pointer], :int],
[:mvaddnstr, [:int, :int, :string, :int], :int],
[:mvaddstr, [:int, :int, :string], :int],
[:mvchgat, [:int, :int, :int, :uint, :short, :pointer], :int],
[:mvcur, [:int, :int, :int, :int], :int],
[:mvdelch, [:int, :int], :int],
[:mvderwin, [:pointer, :int, :int], :int],
[:mvgetch, [:int, :int], :int],
[:mvgetnstr, [:int, :int, :string, :int], :int],
[:mvgetstr, [:int, :int, :string], :int],
[:mvhline_set, [:int, :int, :pointer, :int], :int],
[:mvhline, [:int, :int, :uint, :int], :int],
[:mvin_wch, [:int, :int, :pointer], :int],
[:mvin_wchnstr, [:int, :int, :pointer, :int], :int],
[:mvin_wchstr, [:int, :int, :pointer], :int],
[:mvinch, [:int, :int], :uint],
[:mvinchnstr, [:int, :int, :pointer, :int], :int],
[:mvinchstr, [:int, :int, :pointer], :int],
[:mvinnstr, [:int, :int, :string, :int], :int],
[:mvins_wch, [:int, :int, :pointer], :int],
[:mvinsch, [:int, :int, :uint], :int],
[:mvinsnstr, [:int, :int, :string, :int], :int],
[:mvinsstr, [:int, :int, :string], :int],
[:mvinstr, [:int, :int, :string], :int],
[:mvprintw, [:int, :int, :string, :varargs], :int],
[:mvscanw, [:int, :int, :string, :varargs], :int],
[:mvvline_set, [:int, :int, :pointer, :int], :int],
[:mvvline, [:int, :int, :uint, :int], :int],
[:mvwadd_wchnstr, [:pointer, :int, :int, :pointer, :int], :int],
[:mvwadd_wch, [:pointer, :int, :int, :pointer], :int],
[:mvwadd_wchstr, [:pointer, :int, :int, :pointer], :int],
[:mvwaddchnstr, [:pointer, :int, :int, :pointer, :int], :int],
[:mvwaddch, [:pointer, :int, :int, :uint], :int],
[:mvwaddchstr, [:pointer, :int, :int, :pointer], :int],
[:mvwaddnstr, [:pointer, :int, :int, :string, :int], :int],
[:mvwaddstr, [:pointer, :int, :int, :string], :int],
[:mvwchgat, [:pointer, :int, :int, :int, :uint, :short, :pointer], :int],
[:mvwdelch, [:pointer, :int, :int], :int],
[:mvwgetch, [:pointer, :int, :int], :int],
[:mvwgetnstr, [:pointer, :int, :int, :string, :int], :int],
[:mvwgetstr, [:pointer, :int, :int, :string], :int],
[:mvwhline_set, [:pointer, :int, :int, :pointer, :int], :int],
[:mvwhline, [:pointer, :int, :int, :uint, :int], :int],
[:mvwin_wchnstr, [:pointer, :int, :int, :pointer, :int], :int],
[:mvwin_wch, [:pointer, :int, :int, :pointer], :int],
[:mvwin_wchstr, [:pointer, :int, :int, :pointer], :int],
[:mvwinchnstr, [:pointer, :int, :int, :pointer, :int], :int],
[:mvwinch, [:pointer, :int, :int], :uint],
[:mvwinchstr, [:pointer, :int, :int, :pointer], :int],
[:mvwinnstr, [:pointer, :int, :int, :string, :int], :int],
[:mvwin, [:pointer, :int, :int], :int],
[:mvwins_wch, [:pointer, :int, :int, :pointer], :int],
[:mvwinsch, [:pointer, :int, :int, :uint], :int],
[:mvwinsnstr, [:pointer, :int, :int, :string, :int], :int],
[:mvwinsstr, [:pointer, :int, :int, :string], :int],
[:mvwinstr, [:pointer, :int, :int, :string], :int],
[:mvwprintw, [:pointer, :int, :int, :string, :varargs], :int],
[:mvwscanw, [:pointer, :int, :int, :string, :varargs], :int],
[:mvwvline_set, [:pointer, :int, :int, :pointer, :int], :int],
[:mvwvline, [:pointer, :int, :int, :uint, :int], :int],
[:napms, [:int], :int],
[:newpad, [:int, :int], :pointer],
[:newterm, [:string, :pointer, :pointer], :pointer],
[:newwin, [:int, :int, :int, :int], :pointer],
[:nl, [], :int],
[:nocbreak, [], :int],
[:nodelay, [:pointer, :int], :int],
[:noecho, [], :int],
[:nonl, [], :int],
[:noqiflush, [], :void],
[:noraw, [], :int],
[:notimeout, [:pointer, :int], :int],
[:overlay, [:pointer, :pointer], :int],
[:overwrite, [:pointer, :pointer], :int],
[:pair_content, [:short, :pointer, :pointer], :int],
[:pecho_wchar, [:pointer, :pointer], :int],
[:pechochar, [:pointer, :uint], :int],
[:pnoutrefresh, [:pointer, :int, :int, :int, :int, :int, :int], :int],
[:prefresh, [:pointer, :int, :int, :int, :int, :int, :int], :int],
[:printw, [:string, :varargs], :int],
[:putp, [:string], :int],
[:putwin, [:pointer, :pointer], :int],
[:qiflush, [], :void],
[:raw, [], :int],
[:redrawwin, [:pointer], :int],
[:refresh, [], :int],
[:reset_prog_mode, [], :int],
[:reset_shell_mode, [], :int],
[:resetty, [], :int],
[:resize_term, [:int, :int], :int],
[:resizeterm, [:int, :int], :int],
[:ripoffline, [:int, :pointer], :int],
[:savetty, [], :int],
[:scanw, [:string, :varargs], :int],
[:scr_dump, [:string], :int],
[:scr_init, [:string], :int],
[:scr_restore, [:string], :int],
[:scr_set, [:string], :int],
[:scrl, [:int], :int],
[:scrollok, [:pointer, :int], :int],
[:scroll, [:pointer], :int],
[:set_term, [:pointer], :pointer],
[:setscrreg, [:int, :int], :int],
[:slk_attr_off, [:uint, :pointer], :int],
[:slk_attr_on, [:uint, :pointer], :int],
[:slk_attr_set, [:uint, :short, :pointer], :int],
[:slk_attroff, [:uint], :int],
[:slk_attron, [:uint], :int],
[:slk_attrset, [:uint], :int],
[:slk_attr, [], :uint],
[:slk_clear, [], :int],
[:slk_color, [:short], :int],
[:slk_init, [:int], :int],
[:slk_label, [:int], :string],
[:slk_noutrefresh, [], :int],
[:slk_refresh, [], :int],
[:slk_restore, [], :int],
[:slk_set, [:int, :string, :int], :int],
[:slk_touch, [], :int],
[:standend, [], :int],
[:standout, [], :int],
[:start_color, [], :int],
[:subpad, [:pointer, :int, :int, :int, :int], :pointer],
[:subwin, [:pointer, :int, :int, :int, :int], :pointer],
[:syncok, [:pointer, :int], :int],
[:term_attrs, [], :uint],
[:termattrs, [], :uint],
[:termname, [], :string],
[:tigetflag, [:string], :int],
[:tigetnum, [:string], :int],
[:tigetstr, [:string], :string],
[:timeout, [:int], :void],
[:touchline, [:pointer, :int, :int], :int],
[:touchwin, [:pointer], :int],
[:tparm, [:string, :varargs], :string],
[:trace, [:uint], :void],
[:typeahead, [:int], :int],
[:ungetch, [:int], :int],
[:ungetmouse, [:pointer], :int],
[:untouchwin, [:pointer], :int],
[:use_default_colors, [], :int],
[:use_env, [:int], :void],
[:use_extended_names, [:int], :int],
[:vid_attr, [:uint, :short, :pointer], :int],
[:vid_puts, [:uint, :short, :pointer, :pointer], :int],
[:vidattr, [:uint], :int],
[:vidputs, [:uint, :pointer], :int],
[:vline_set, [:pointer, :int], :int],
[:vline, [:uint, :int], :int],
[:wadd_wchnstr, [:pointer, :pointer, :int], :int],
[:wadd_wch, [:pointer, :pointer], :int],
[:wadd_wchstr, [:pointer, :pointer], :int],
[:waddchnstr, [:pointer, :pointer, :int], :int],
[:waddch, [:pointer, :uint], :int],
[:waddchstr, [:pointer, :pointer], :int],
[:waddnstr, [:pointer, :string, :int], :int],
[:waddstr, [:pointer, :string], :int],
[:wattr_get, [:pointer, :pointer, :pointer, :pointer], :int],
[:wattr_off, [:pointer, :uint, :pointer], :int],
[:wattr_on, [:pointer, :uint, :pointer], :int],
[:wattr_set, [:pointer, :uint, :short, :pointer], :int],
[:wattroff, [:pointer, :int], :int],
[:wattron, [:pointer, :int], :int],
[:wattrset, [:pointer, :int], :int],
[:wbkgd, [:pointer, :uint], :int],
[:wbkgdset, [:pointer, :uint], :void],
[:wbkgrnd, [:pointer, :pointer], :int],
[:wbkgrndset, [:pointer, :pointer], :void],
[:wborder_set, [:pointer, :pointer, :pointer, :pointer, :pointer, :pointer, :pointer, :pointer, :pointer], :int],
[:wborder, [:pointer, :uint, :uint, :uint, :uint, :uint, :uint, :uint, :uint], :int],
[:wchgat, [:pointer, :int, :uint, :short, :pointer], :int],
[:wclear, [:pointer], :int],
[:wclrtobot, [:pointer], :int],
[:wclrtoeol, [:pointer], :int],
[:wcolor_set, [:pointer, :short, :pointer], :int],
[:wcursyncup, [:pointer], :void],
[:wdelch, [:pointer], :int],
[:wdeleteln, [:pointer], :int],
[:wecho_wchar, [:pointer, :pointer], :int],
[:wechochar, [:pointer, :uint], :int],
[:wenclose, [:pointer, :int, :int], :int],
[:werase, [:pointer], :int],
[:wgetbkgrnd, [:pointer, :pointer], :int],
[:wgetch, [:pointer], :int],
[:wgetnstr, [:pointer, :string, :int], :int],
[:wgetstr, [:pointer, :string], :int],
[:whline_set, [:pointer, :pointer, :int], :int],
[:whline, [:pointer, :uint, :int], :int],
[:win_wchnstr, [:pointer, :pointer, :int], :int],
[:win_wch, [:pointer, :pointer], :int],
[:win_wchstr, [:pointer, :pointer], :int],
[:winchnstr, [:pointer, :pointer, :int], :int],
[:winch, [:pointer], :uint],
[:winchstr, [:pointer, :pointer], :int],
[:winnstr, [:pointer, :string, :int], :int],
[:wins_wch, [:pointer, :pointer], :int],
[:winsch, [:pointer, :uint], :int],
[:winsdelln, [:pointer, :int], :int],
[:winsertln, [:pointer], :int],
[:winsnstr, [:pointer, :string, :int], :int],
[:winsstr, [:pointer, :string], :int],
[:winstr, [:pointer, :string], :int],
[:wmove, [:pointer, :int, :int], :int],
[:wnoutrefresh, [:pointer], :int],
[:wprintw, [:pointer, :string, :varargs], :int],
[:wredrawln, [:pointer, :int, :int], :int],
[:wrefresh, [:pointer], :int],
[:wresize, [:pointer, :int, :int], :int],
[:wscanw, [:pointer, :string, :varargs], :int],
[:wscrl, [:pointer, :int], :int],
[:wsetscrreg, [:pointer, :int, :int], :int],
[:wstandend, [:pointer], :int],
[:wstandout, [:pointer], :int],
[:wsyncdown, [:pointer], :void],
[:wsyncup, [:pointer], :void],
[:wtimeout, [:pointer, :int], :void],
[:wtouchln, [:pointer, :int, :int, :int], :int],
[:wvline_set, [:pointer, :pointer, :int], :int],
[:wvline, [:pointer, :uint, :int], :int]
]
# end of autogenerated function list