cplusnewinit.cpp
来自「vxworks源码源码解读是学习vxworks的最佳途径」· C++ 代码 · 共 46 行
CPP
46 行
/* cplusNewInit.cpp - force-link of new/delete *//* Copyright 1998 Wind River Systems, Inc. */#include "copyright_wrs.h"/*modification history--------------------01b,03jun98,sn added comments and wrapped everything in extern "C"01a,16jan98,sn wrote*//*DESCRIPTIONThis file is used to include support for the various C++ new anddelete operators. That includes placement new/delete, and new (nothrow).For prototypes see target/h/new. NOMANUAL*/extern "C"{extern char __opnew_o;extern char __opvnew_o;extern char __opnewnt_o;extern char __opvnewnt_o;extern char __opdel_o;extern char __opvdel_o;extern char __opdelnt_o;extern char __opvdelnt_o;extern char __new_o;static char* cplusNewObjs [] ={ &__opnew_o, &__opvnew_o, &__opnewnt_o, &__opvnewnt_o, &__opdel_o, &__opvdel_o, &__opdelnt_o, &__opvdelnt_o, &__new_o};} /* extern "C" */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?