Index: trunk/src/remove.c =================================================================== --- trunk/src/remove.c (revision 13338) +++ trunk/src/remove.c (revision 13339) @@ -110,10 +110,6 @@ return (ptr); } -/* --------------------------------------------------------------------------- - * remove object as referred by pointers and type - * allocated memory is destroyed assumed to already be erased - */ void *pcb_destroy_object(pcb_data_t *Target, int Type, void *Ptr1, void *Ptr2, void *Ptr3) { pcb_opctx_t ctx; Index: trunk/src/remove.h =================================================================== --- trunk/src/remove.h (revision 13338) +++ trunk/src/remove.h (revision 13339) @@ -36,7 +36,11 @@ PCB_TYPE_POLY_POINT | PCB_TYPE_POLY | PCB_TYPE_RATLINE | PCB_TYPE_ARC | PCB_TYPE_ARC_POINT) pcb_bool pcb_remove_selected(void); + +/* Undoable delete (operation wrapper) */ void *pcb_remove_object(int Type, void *Ptr1, void *Ptr2, void *Ptr3); + +/* Non-undoable delete (operation wrapper) */ void *pcb_destroy_object(pcb_data_t *Target, int Type, void *Ptr1, void *Ptr2, void *Ptr3); #endif