0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 9.0.1152: class "implements" argument not implemented

Problem:    Class "implements" argument not implemented.
Solution:   Implement "implements" argument.  Add basic checks for when a
            class implements an interface.
This commit is contained in:
Bram Moolenaar
2023-01-06 18:42:20 +00:00
parent 5bcd29b84e
commit 94674f2223
8 changed files with 249 additions and 14 deletions

View File

@@ -1494,6 +1494,10 @@ struct class_S
int class_refcount;
int class_copyID; // used by garbage collection
// interfaces declared for the class
int class_interface_count;
char_u **class_interfaces; // allocated array of names
// class members: "static varname"
int class_class_member_count;
ocmember_T *class_class_members; // allocated