Yegappan Lakshmanan | 25536f4 | 2024-05-22 16:45:04 +0200 | [diff] [blame] | 1 | /* gc.c */ |
| 2 | int get_copyID(void); |
| 3 | int garbage_collect(int testing); |
Yegappan Lakshmanan | 9cb865e | 2025-03-23 16:42:16 +0100 | [diff] [blame] | 4 | int set_ref_in_ht(hashtab_T *ht, int copyID, list_stack_T **list_stack, tuple_stack_T **tuple_stack); |
Yegappan Lakshmanan | 25536f4 | 2024-05-22 16:45:04 +0200 | [diff] [blame] | 5 | int set_ref_in_dict(dict_T *d, int copyID); |
| 6 | int set_ref_in_list(list_T *ll, int copyID); |
Yegappan Lakshmanan | 9cb865e | 2025-03-23 16:42:16 +0100 | [diff] [blame] | 7 | int set_ref_in_list_items(list_T *l, int copyID, ht_stack_T **ht_stack, tuple_stack_T **tuple_stack); |
| 8 | int set_ref_in_tuple_items(tuple_T *tuple, int copyID, ht_stack_T **ht_stack, list_stack_T **list_stack); |
Yegappan Lakshmanan | 25536f4 | 2024-05-22 16:45:04 +0200 | [diff] [blame] | 9 | int set_ref_in_callback(callback_T *cb, int copyID); |
Yegappan Lakshmanan | 9cb865e | 2025-03-23 16:42:16 +0100 | [diff] [blame] | 10 | int set_ref_in_item_class(class_T *cl, int copyID, ht_stack_T **ht_stack, list_stack_T **list_stack, tuple_stack_T **tuple_stack); |
| 11 | int set_ref_in_item(typval_T *tv, int copyID, ht_stack_T **ht_stack, list_stack_T **list_stack, tuple_stack_T **tuple_stack); |
Yegappan Lakshmanan | 25536f4 | 2024-05-22 16:45:04 +0200 | [diff] [blame] | 12 | /* vim: set ft=c : */ |