commit | cf760d50dceb46bd583321c210b88b92360eb959 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Jan 05 13:16:04 2023 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Jan 05 13:16:04 2023 +0000 |
tree | 83c8681eebf2582148de2c4e98fc022a4a5b7f0f | |
parent | 2468add0b88849997e6349e7a0b997be133c022d [diff] [blame] |
patch 9.0.1149: class members may be garbage collected Problem: Class members may be garbage collected. Solution: Mark class members as being in use.
diff --git a/src/structs.h b/src/structs.h index 50260ae..5b3f566 100644 --- a/src/structs.h +++ b/src/structs.h
@@ -1487,6 +1487,7 @@ { char_u *class_name; // allocated int class_refcount; + int class_copyID; // used by garbage collection // class members: "static varname" int class_class_member_count;