comparison src/gui.c @ 3263:d674024a8674

[xemacs-hg @ 2006-02-27 16:29:00 by crestani] - Introduce a fancy asynchronous finalization strategy on C level. - Merge the code conditioned on MC_ALLOC into the code conditioned on NEW_GC. - Remove the possibility to free objects manually outside garbage collections when the new collector is enabled.
author crestani
date Mon, 27 Feb 2006 16:29:29 +0000
parents 1e7cc382eb16
children 8f1ee2d15784
comparison
equal deleted inserted replaced
3262:79d41cfd8e6b 3263:d674024a8674
802 GCPRO1 (ret); 802 GCPRO1 (ret);
803 ret = Fcons (ret, parse_gui_item_tree_children (XCDR (list))); 803 ret = Fcons (ret, parse_gui_item_tree_children (XCDR (list)));
804 RETURN_UNGCPRO (ret); 804 RETURN_UNGCPRO (ret);
805 } 805 }
806 806
807 static void
808 finalize_gui_item (void *UNUSED (header), int UNUSED (for_disksave))
809 {
810 }
811
812 DEFINE_LRECORD_IMPLEMENTATION ("gui-item", gui_item, 807 DEFINE_LRECORD_IMPLEMENTATION ("gui-item", gui_item,
813 0, /*dumpable-flag*/ 808 0, /*dumpable-flag*/
814 mark_gui_item, print_gui_item, 809 mark_gui_item, print_gui_item,
815 finalize_gui_item, gui_item_equal, 810 0, gui_item_equal,
816 gui_item_hash, 811 gui_item_hash,
817 gui_item_description, 812 gui_item_description,
818 Lisp_Gui_Item); 813 Lisp_Gui_Item);
819 814
820 DOESNT_RETURN 815 DOESNT_RETURN