no-ctor.c

来自「RTEMS (Real-Time Executive for Multiproc」· C语言 代码 · 共 17 行

C
17
字号
/* *  rtems, floss, libc are always compiled with GNU compilers *  application code may be compiled with some other C++ compiler *  that has a different global constructor technique. * *  For the simple case, where the app has no global constructors or *  is compiled by g++, we provide this empty routine *  In order to get both g++ constructors (RTEMS::RTEMS, for example) *  and application constructors run, we provide this routine. * *  $Id: no-ctor.c,v 1.1 1996/01/15 21:49:55 joel Exp $ */void invoke_non_gnu_constructors(void){}

⌨️ 快捷键说明

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