Mercurial > vim
annotate src/proto/memfile.pro @ 9499:69102e843370 v7.4.2030
commit https://github.com/vim/vim/commit/e048539195e1c0a060cf41b39fca118130bdc151
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jul 12 21:17:03 2016 +0200
patch 7.4.2030
Problem: ARCH must be set properly when using MinGW.
Solution: Detect the default value of ARCH from the current compiler. (Ken
Takata)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 12 Jul 2016 21:30:05 +0200 |
parents | 21b0a39d13ed |
children |
rev | line source |
---|---|
7 | 1 /* memfile.c */ |
7668
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1121
diff
changeset
|
2 memfile_T *mf_open(char_u *fname, int flags); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1121
diff
changeset
|
3 int mf_open_file(memfile_T *mfp, char_u *fname); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1121
diff
changeset
|
4 void mf_close(memfile_T *mfp, int del_file); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1121
diff
changeset
|
5 void mf_close_file(buf_T *buf, int getlines); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1121
diff
changeset
|
6 void mf_new_page_size(memfile_T *mfp, unsigned new_size); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1121
diff
changeset
|
7 bhdr_T *mf_new(memfile_T *mfp, int negative, int page_count); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1121
diff
changeset
|
8 bhdr_T *mf_get(memfile_T *mfp, blocknr_T nr, int page_count); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1121
diff
changeset
|
9 void mf_put(memfile_T *mfp, bhdr_T *hp, int dirty, int infile); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1121
diff
changeset
|
10 void mf_free(memfile_T *mfp, bhdr_T *hp); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1121
diff
changeset
|
11 int mf_sync(memfile_T *mfp, int flags); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1121
diff
changeset
|
12 void mf_set_dirty(memfile_T *mfp); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1121
diff
changeset
|
13 int mf_release_all(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1121
diff
changeset
|
14 blocknr_T mf_trans_del(memfile_T *mfp, blocknr_T old_nr); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1121
diff
changeset
|
15 void mf_set_ffname(memfile_T *mfp); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1121
diff
changeset
|
16 void mf_fullname(memfile_T *mfp); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1121
diff
changeset
|
17 int mf_need_trans(memfile_T *mfp); |
7 | 18 /* vim: set ft=c : */ |