Patch 9.0.1151 (after 9.0.1150)
Problem: Build failure.
Solution: Add missing part of :interface change.
Files: src/structs.h
*** ../vim-9.0.1150/src/structs.h 2023-01-05 13:16:00.304020639 +0000
--- src/structs.h 2023-01-05 17:37:47.185074214 +0000
***************
*** 1440,1446 ****
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_OBJECT, // "v_object" is used
} vartype_T;
--- 1440,1446 ----
VAR_JOB, // "v_job" is used
VAR_CHANNEL, // "v_channel" is used
VAR_INSTR, // "v_instr" is used
! VAR_CLASS, // "v_class" is used (also used for interface)
VAR_OBJECT, // "v_object" is used
} vartype_T;
***************
*** 1482,1491 ****
--- 1482,1496 ----
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
*** ../vim-9.0.1150/src/version.c 2023-01-05 19:59:14.007418126 +0000
--- src/version.c 2023-01-05 20:14:16.971666500 +0000
***************
*** 697,698 ****
--- 697,700 ----
{ /* Add new patch number below this line */
+ /**/
+ 1151,
/**/
--
"I thought there was something different. You no longer smell
of excrement. It suits you!" -- the Outpost
/// Bram Moolenaar -- Br...@Moolenaar.net --
http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features --
http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims --
http://ICCF-Holland.org ///