Mercurial > vim
annotate src/proto/alloc.pro @ 30590:d900f0561eee v9.0.0630
patch 9.0.0630: in Vim9 script a numbered function cannot be called
Commit: https://github.com/vim/vim/commit/cfb4d4f312e740c2fbb70c29c47cf74a76f8b605
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Sep 30 19:19:04 2022 +0100
patch 9.0.0630: in Vim9 script a numbered function cannot be called
Problem: In Vim9 script a numbered function cannot be called.
Solution: Do not require "g:" before a numbered function name.
(closes #11254)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 30 Sep 2022 20:30:04 +0200 |
parents | 3626ca6a20ea |
children |
rev | line source |
---|---|
25529
bb1097899693
patch 8.2.3301: memory allocation functions don't have their own place
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
1 /* alloc.c */ |
bb1097899693
patch 8.2.3301: memory allocation functions don't have their own place
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
2 void vim_mem_profile_dump(void); |
bb1097899693
patch 8.2.3301: memory allocation functions don't have their own place
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
3 int alloc_does_fail(size_t size); |
bb1097899693
patch 8.2.3301: memory allocation functions don't have their own place
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
4 void *alloc(size_t size); |
bb1097899693
patch 8.2.3301: memory allocation functions don't have their own place
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
5 void *alloc_id(size_t size, alloc_id_T id); |
bb1097899693
patch 8.2.3301: memory allocation functions don't have their own place
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
6 void *alloc_clear(size_t size); |
bb1097899693
patch 8.2.3301: memory allocation functions don't have their own place
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
7 void *alloc_clear_id(size_t size, alloc_id_T id); |
bb1097899693
patch 8.2.3301: memory allocation functions don't have their own place
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
8 void *lalloc_clear(size_t size, int message); |
bb1097899693
patch 8.2.3301: memory allocation functions don't have their own place
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
9 void *lalloc(size_t size, int message); |
bb1097899693
patch 8.2.3301: memory allocation functions don't have their own place
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
10 void *lalloc_id(size_t size, int message, alloc_id_T id); |
bb1097899693
patch 8.2.3301: memory allocation functions don't have their own place
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
11 void *mem_realloc(void *ptr, size_t size); |
bb1097899693
patch 8.2.3301: memory allocation functions don't have their own place
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
12 void do_outofmem_msg(size_t size); |
bb1097899693
patch 8.2.3301: memory allocation functions don't have their own place
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
13 void free_all_mem(void); |
bb1097899693
patch 8.2.3301: memory allocation functions don't have their own place
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
14 char_u *vim_memsave(char_u *p, size_t len); |
bb1097899693
patch 8.2.3301: memory allocation functions don't have their own place
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
15 void vim_free(void *x); |
bb1097899693
patch 8.2.3301: memory allocation functions don't have their own place
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
16 void ga_clear(garray_T *gap); |
bb1097899693
patch 8.2.3301: memory allocation functions don't have their own place
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
17 void ga_clear_strings(garray_T *gap); |
bb1097899693
patch 8.2.3301: memory allocation functions don't have their own place
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
18 int ga_copy_strings(garray_T *from, garray_T *to); |
bb1097899693
patch 8.2.3301: memory allocation functions don't have their own place
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
19 void ga_init(garray_T *gap); |
27022
eebbcc83fb75
patch 8.2.4040: keeping track of allocated lines is too complicated
Bram Moolenaar <Bram@vim.org>
parents:
25529
diff
changeset
|
20 void ga_init2(garray_T *gap, size_t itemsize, int growsize); |
25529
bb1097899693
patch 8.2.3301: memory allocation functions don't have their own place
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
21 int ga_grow(garray_T *gap, int n); |
28813
3626ca6a20ea
patch 8.2.4930: interpolated string expression requires escaping
Bram Moolenaar <Bram@vim.org>
parents:
28382
diff
changeset
|
22 int ga_grow_id(garray_T *gap, int n, alloc_id_T id); |
25529
bb1097899693
patch 8.2.3301: memory allocation functions don't have their own place
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
23 int ga_grow_inner(garray_T *gap, int n); |
bb1097899693
patch 8.2.3301: memory allocation functions don't have their own place
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
24 char_u *ga_concat_strings(garray_T *gap, char *sep); |
27022
eebbcc83fb75
patch 8.2.4040: keeping track of allocated lines is too complicated
Bram Moolenaar <Bram@vim.org>
parents:
25529
diff
changeset
|
25 int ga_copy_string(garray_T *gap, char_u *p); |
25529
bb1097899693
patch 8.2.3301: memory allocation functions don't have their own place
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
26 int ga_add_string(garray_T *gap, char_u *p); |
bb1097899693
patch 8.2.3301: memory allocation functions don't have their own place
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
27 void ga_concat(garray_T *gap, char_u *s); |
bb1097899693
patch 8.2.3301: memory allocation functions don't have their own place
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
28 void ga_concat_len(garray_T *gap, char_u *s, size_t len); |
28813
3626ca6a20ea
patch 8.2.4930: interpolated string expression requires escaping
Bram Moolenaar <Bram@vim.org>
parents:
28382
diff
changeset
|
29 int ga_append(garray_T *gap, int c); |
25529
bb1097899693
patch 8.2.3301: memory allocation functions don't have their own place
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
30 void append_ga_line(garray_T *gap); |
bb1097899693
patch 8.2.3301: memory allocation functions don't have their own place
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
31 /* vim: set ft=c : */ |