blob: 9260018994635edee1e4870444e26c69f9f14044 [file] [log] [blame]
Bram Moolenaaredf3f972016-08-29 22:49:24 +02001/* vi:set ts=8 sts=4 sw=4 noet:
Bram Moolenaar28fb79d2016-01-09 22:28:33 +01002 *
3 * VIM - Vi IMproved by Bram Moolenaar
4 *
5 * Do ":help uganda" in Vim to read copying and usage conditions.
6 * Do ":help credits" in Vim to see a list of people who contributed.
7 */
8
9/*
10 * alloc.h: enumeration of alloc IDs.
Yegappan Lakshmanan5a2d4a32022-02-26 10:31:32 +000011 * Used by test_alloc_fail() to test memory allocation failures.
Bram Moolenaar28fb79d2016-01-09 22:28:33 +010012 * Each entry must be on exactly one line, GetAllocId() depends on that.
13 */
14typedef enum {
Yegappan Lakshmanan5a2d4a32022-02-26 10:31:32 +000015 aid_none = 0,
16 aid_qf_dirname_start,
17 aid_qf_dirname_now,
18 aid_qf_namebuf,
19 aid_qf_module,
20 aid_qf_errmsg,
21 aid_qf_pattern,
22 aid_qf_efm_fmtstr,
23 aid_qf_efm_fmtpart,
24 aid_qf_title,
25 aid_qf_mef_name,
26 aid_qf_qfline,
27 aid_qf_qfinfo,
28 aid_qf_dirstack,
29 aid_qf_multiline_pfx,
30 aid_qf_makecmd,
31 aid_qf_linebuf,
32 aid_tagstack_items,
33 aid_tagstack_from,
34 aid_tagstack_details,
35 aid_sign_getdefined,
36 aid_sign_getplaced,
37 aid_sign_define_by_name,
38 aid_sign_getlist,
39 aid_sign_getplaced_dict,
40 aid_sign_getplaced_list,
41 aid_insert_sign,
42 aid_sign_getinfo,
43 aid_last
Bram Moolenaar28fb79d2016-01-09 22:28:33 +010044} alloc_id_T;