cplusehinit.cpp

来自「vxworks源码源码解读是学习vxworks的最佳途径」· C++ 代码 · 共 48 行

CPP
48
字号
/* cplusEhInit.cpp - force-link of exception handling/RTTI  *//* Copyright 1998 Wind River Systems, Inc. */#include "copyright_wrs.h"/*modification history--------------------01b,03jun98,sn   removed everything except EH/RTTI and a couple of hangers-on01a,15jan98,sn   wrote*//*DESCRIPTIONThis file pulls in support for exception handling, Run Time Type Identificationand a couple of miscellaneous C++ standard library functions. NOMANUAL*/extern "C"{extern char ___eh_o;extern char __exception_o;extern char __tinfo_o;extern char __tinfo2_o;extern char ____dummy_o;/* These aren't strictly related to EH or RTTI but we put them * here because they are a natural part of the standard C++ configuration. * In any case together they take up less than 100 bytes!  */extern char __cstdlibi_o;extern char __cmathi_o;static char* cplusEhObjs [] ={  &___eh_o,  &__exception_o,  &__tinfo_o,  &__tinfo2_o,  &____dummy_o,  &__cstdlibi_o,  &__cmathi_o};} /* extern "C" */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?