📄 mm_delete_0.cc
字号:
// file: mm_delete_0.cc// // isip include files//#include "memory_manager.h"#include "memory_manager_constants.h" // method: delete_cc//// arguments:// Link_node* node : (input) the node to be put back in the list//// return: a logical_1 indicating success//// this method takes the input link list node and puts it in the free// nodes list//logical_1 Memory_manager::delete_cc(Link_node* node_a) { // clear the node // node_a->set_prev_cc((Link_node*)NULL); node_a->set_next_cc((Link_node*)NULL); node_a->set_item_cc((void_p)NULL); // insert the incoming node in the node list // node_a->insert_cc(node_list_d); node_list_d = node_a; // increment free node count // node_count_d++; // exit gracefully // return ISIP_TRUE;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -