Mercurial > vim
comparison src/proto/memline.pro @ 7668:21b0a39d13ed v7.4.1133
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jan 19 13:22:12 2016 +0100
patch 7.4.1133
Problem: Generated function prototypes still have __ARGS().
Solution: Generate function prototypes without __ARGS().
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 19 Jan 2016 13:30:06 +0100 |
parents | cd47def2214a |
children | f094d4085014 |
comparison
equal
deleted
inserted
replaced
7667:201b9c7e3df7 | 7668:21b0a39d13ed |
---|---|
1 /* memline.c */ | 1 /* memline.c */ |
2 int ml_open __ARGS((buf_T *buf)); | 2 int ml_open(buf_T *buf); |
3 void ml_set_crypt_key __ARGS((buf_T *buf, char_u *old_key, char_u *old_cm)); | 3 void ml_set_crypt_key(buf_T *buf, char_u *old_key, char_u *old_cm); |
4 void ml_setname __ARGS((buf_T *buf)); | 4 void ml_setname(buf_T *buf); |
5 void ml_open_files __ARGS((void)); | 5 void ml_open_files(void); |
6 void ml_open_file __ARGS((buf_T *buf)); | 6 void ml_open_file(buf_T *buf); |
7 void check_need_swap __ARGS((int newfile)); | 7 void check_need_swap(int newfile); |
8 void ml_close __ARGS((buf_T *buf, int del_file)); | 8 void ml_close(buf_T *buf, int del_file); |
9 void ml_close_all __ARGS((int del_file)); | 9 void ml_close_all(int del_file); |
10 void ml_close_notmod __ARGS((void)); | 10 void ml_close_notmod(void); |
11 void ml_timestamp __ARGS((buf_T *buf)); | 11 void ml_timestamp(buf_T *buf); |
12 void ml_recover __ARGS((void)); | 12 void ml_recover(void); |
13 int recover_names __ARGS((char_u *fname, int list, int nr, char_u **fname_out)); | 13 int recover_names(char_u *fname, int list, int nr, char_u **fname_out); |
14 void ml_sync_all __ARGS((int check_file, int check_char)); | 14 void ml_sync_all(int check_file, int check_char); |
15 void ml_preserve __ARGS((buf_T *buf, int message)); | 15 void ml_preserve(buf_T *buf, int message); |
16 char_u *ml_get __ARGS((linenr_T lnum)); | 16 char_u *ml_get(linenr_T lnum); |
17 char_u *ml_get_pos __ARGS((pos_T *pos)); | 17 char_u *ml_get_pos(pos_T *pos); |
18 char_u *ml_get_curline __ARGS((void)); | 18 char_u *ml_get_curline(void); |
19 char_u *ml_get_cursor __ARGS((void)); | 19 char_u *ml_get_cursor(void); |
20 char_u *ml_get_buf __ARGS((buf_T *buf, linenr_T lnum, int will_change)); | 20 char_u *ml_get_buf(buf_T *buf, linenr_T lnum, int will_change); |
21 int ml_line_alloced __ARGS((void)); | 21 int ml_line_alloced(void); |
22 int ml_append __ARGS((linenr_T lnum, char_u *line, colnr_T len, int newfile)); | 22 int ml_append(linenr_T lnum, char_u *line, colnr_T len, int newfile); |
23 int ml_append_buf __ARGS((buf_T *buf, linenr_T lnum, char_u *line, colnr_T len, int newfile)); | 23 int ml_append_buf(buf_T *buf, linenr_T lnum, char_u *line, colnr_T len, int newfile); |
24 int ml_replace __ARGS((linenr_T lnum, char_u *line, int copy)); | 24 int ml_replace(linenr_T lnum, char_u *line, int copy); |
25 int ml_delete __ARGS((linenr_T lnum, int message)); | 25 int ml_delete(linenr_T lnum, int message); |
26 void ml_setmarked __ARGS((linenr_T lnum)); | 26 void ml_setmarked(linenr_T lnum); |
27 linenr_T ml_firstmarked __ARGS((void)); | 27 linenr_T ml_firstmarked(void); |
28 void ml_clearmarked __ARGS((void)); | 28 void ml_clearmarked(void); |
29 int resolve_symlink __ARGS((char_u *fname, char_u *buf)); | 29 int resolve_symlink(char_u *fname, char_u *buf); |
30 char_u *makeswapname __ARGS((char_u *fname, char_u *ffname, buf_T *buf, char_u *dir_name)); | 30 char_u *makeswapname(char_u *fname, char_u *ffname, buf_T *buf, char_u *dir_name); |
31 char_u *get_file_in_dir __ARGS((char_u *fname, char_u *dname)); | 31 char_u *get_file_in_dir(char_u *fname, char_u *dname); |
32 void ml_setflags __ARGS((buf_T *buf)); | 32 void ml_setflags(buf_T *buf); |
33 char_u *ml_encrypt_data __ARGS((memfile_T *mfp, char_u *data, off_t offset, unsigned size)); | 33 char_u *ml_encrypt_data(memfile_T *mfp, char_u *data, off_t offset, unsigned size); |
34 void ml_decrypt_data __ARGS((memfile_T *mfp, char_u *data, off_t offset, unsigned size)); | 34 void ml_decrypt_data(memfile_T *mfp, char_u *data, off_t offset, unsigned size); |
35 long ml_find_line_or_offset __ARGS((buf_T *buf, linenr_T lnum, long *offp)); | 35 long ml_find_line_or_offset(buf_T *buf, linenr_T lnum, long *offp); |
36 void goto_byte __ARGS((long cnt)); | 36 void goto_byte(long cnt); |
37 /* vim: set ft=c : */ | 37 /* vim: set ft=c : */ |