summaryrefslogtreecommitdiffstats
path: root/src/structs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/structs.h')
-rw-r--r--src/structs.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/structs.h b/src/structs.h
index 08edcf4020..89ed23dbdb 100644
--- a/src/structs.h
+++ b/src/structs.h
@@ -1465,6 +1465,7 @@ typedef struct {
#define TTFLAG_NUMBER_OK 0x04 // tt_type is VAR_FLOAT, VAR_NUMBER is OK
#define TTFLAG_STATIC 0x08 // one of the static types, e.g. t_any
#define TTFLAG_CONST 0x10 // cannot be changed
+#define TTFLAG_SUPER 0x20 // object from "super".
typedef enum {
ACCESS_PRIVATE, // read/write only inside th class
@@ -1506,7 +1507,8 @@ struct class_S
typval_T *class_members_tv; // allocated array of class member vals
// class functions: "static def SomeMethod()"
- int class_class_function_count;
+ int class_class_function_count; // total count
+ int class_class_function_count_child; // count without "extends"
ufunc_T **class_class_functions; // allocated
// object members: "this.varname"
@@ -1514,7 +1516,8 @@ struct class_S
ocmember_T *class_obj_members; // allocated
// object methods: "def SomeMethod()"
- int class_obj_method_count;
+ int class_obj_method_count; // total count
+ int class_obj_method_count_child; // count without "extends"
ufunc_T **class_obj_methods; // allocated
garray_T class_type_list; // used for type pointers