diff options
author | Bram Moolenaar <Bram@vim.org> | 2023-01-05 20:14:43 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2023-01-05 20:14:43 +0000 |
commit | 5bcd29b84e4dd6435177f37a544ecbf8df02412c (patch) | |
tree | 388e0d7638d62bc906975fd0a4fd955d8926c804 | |
parent | 554d0313022c3977c71f7dcbc5c841ef43d988a6 (diff) |
patch 9.0.1151: build failurev9.0.1151
Problem: Build failure.
Solution: Add missing part of :interface change.
-rw-r--r-- | src/structs.h | 7 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/src/structs.h b/src/structs.h index 5b3f566dcb..bcf9d03d2f 100644 --- a/src/structs.h +++ b/src/structs.h @@ -1440,7 +1440,7 @@ typedef enum VAR_JOB, // "v_job" is used VAR_CHANNEL, // "v_channel" is used VAR_INSTR, // "v_instr" is used - VAR_CLASS, // "v_class" is used + VAR_CLASS, // "v_class" is used (also used for interface) VAR_OBJECT, // "v_object" is used } vartype_T; @@ -1482,10 +1482,15 @@ typedef struct { char_u *ocm_init; // allocated } ocmember_T; +#define CLASS_INTERFACE 1 + // "class_T": used for v_class of typval of VAR_CLASS +// Also used for an interface (class_flags has CLASS_INTERFACE). struct class_S { char_u *class_name; // allocated + int class_flags; // CLASS_ flags + int class_refcount; int class_copyID; // used by garbage collection diff --git a/src/version.c b/src/version.c index 8177cabf1b..78fad97ce0 100644 --- a/src/version.c +++ b/src/version.c @@ -696,6 +696,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1151, +/**/ 1150, /**/ 1149, |