annotate src/proto/ops.pro @ 2169:cf8f86128f4c v7.2.435

updated for version 7.2.435 Problem: Crash when using bad_char_idx uninitialized. (Patrick Texier) Solution: Don't use bad_char_idx, reproduce the ++bad argument from bad_char.
author Bram Moolenaar <bram@vim.org>
date Sun, 16 May 2010 13:26:25 +0200
parents ed7fefbef738
children 2209060c340d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 /* ops.c */
1130
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
2 int get_op_type __ARGS((int char1, int char2));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
3 int op_on_lines __ARGS((int op));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
4 int get_op_char __ARGS((int optype));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
5 int get_extra_op_char __ARGS((int optype));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
6 void op_shift __ARGS((oparg_T *oap, int curs_top, int amount));
1516
ee9d2d24ea9b updated for version 7.1-231
vimboss
parents: 1130
diff changeset
7 void shift_line __ARGS((int left, int round, int amount, int call_changed_bytes));
1130
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
8 void op_reindent __ARGS((oparg_T *oap, int (*how)(void)));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
9 int get_expr_register __ARGS((void));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
10 void set_expr_line __ARGS((char_u *new_line));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
11 char_u *get_expr_line __ARGS((void));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
12 char_u *get_expr_line_src __ARGS((void));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
13 int valid_yank_reg __ARGS((int regname, int writing));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
14 void get_yank_register __ARGS((int regname, int writing));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
15 int may_get_selection __ARGS((int regname));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
16 void *get_register __ARGS((int name, int copy));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
17 void put_register __ARGS((int name, void *reg));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
18 int yank_register_mline __ARGS((int regname));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
19 int do_record __ARGS((int c));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
20 int do_execreg __ARGS((int regname, int colon, int addcr, int silent));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
21 int insert_reg __ARGS((int regname, int literally));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
22 int get_spec_reg __ARGS((int regname, char_u **argp, int *allocated, int errmsg));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
23 int cmdline_paste_reg __ARGS((int regname, int literally, int remcr));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
24 void adjust_clip_reg __ARGS((int *rp));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
25 int op_delete __ARGS((oparg_T *oap));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
26 int op_replace __ARGS((oparg_T *oap, int c));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
27 void op_tilde __ARGS((oparg_T *oap));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
28 int swapchar __ARGS((int op_type, pos_T *pos));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
29 void op_insert __ARGS((oparg_T *oap, long count1));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
30 int op_change __ARGS((oparg_T *oap));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
31 void init_yank __ARGS((void));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
32 void clear_registers __ARGS((void));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
33 int op_yank __ARGS((oparg_T *oap, int deleting, int mess));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
34 void do_put __ARGS((int regname, int dir, long count, int flags));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
35 void adjust_cursor_eol __ARGS((void));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
36 int preprocs_left __ARGS((void));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
37 int get_register_name __ARGS((int num));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
38 void ex_display __ARGS((exarg_T *eap));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
39 void do_do_join __ARGS((long count, int insert_space));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
40 int do_join __ARGS((int insert_space));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
41 void op_format __ARGS((oparg_T *oap, int keep_cursor));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
42 void op_formatexpr __ARGS((oparg_T *oap));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
43 int fex_format __ARGS((linenr_T lnum, long count, int c));
1563
ed7fefbef738 updated for version 7.1-276
vimboss
parents: 1516
diff changeset
44 void format_lines __ARGS((linenr_T line_count, int avoid_fex));
1130
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
45 int paragraph_start __ARGS((linenr_T lnum));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
46 int do_addsub __ARGS((int command, linenr_T Prenum1));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
47 int read_viminfo_register __ARGS((vir_T *virp, int force));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
48 void write_viminfo_registers __ARGS((FILE *fp));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
49 void x11_export_final_selection __ARGS((void));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
50 void clip_free_selection __ARGS((VimClipboard *cbd));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
51 void clip_get_selection __ARGS((VimClipboard *cbd));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
52 void clip_yank_selection __ARGS((int type, char_u *str, long len, VimClipboard *cbd));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
53 int clip_convert_selection __ARGS((char_u **str, long_u *len, VimClipboard *cbd));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
54 void dnd_yank_drag_data __ARGS((char_u *str, long len));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
55 char_u get_reg_type __ARGS((int regname, long *reglen));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
56 char_u *get_reg_contents __ARGS((int regname, int allowexpr, int expr_src));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
57 void write_reg_contents __ARGS((int name, char_u *str, int maxlen, int must_append));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
58 void write_reg_contents_ex __ARGS((int name, char_u *str, int maxlen, int must_append, int yank_type, long block_len));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
59 void clear_oparg __ARGS((oparg_T *oap));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
60 void cursor_pos_info __ARGS((void));
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61 /* vim: set ft=c : */