关于GCC的__attribute__ ((constructor))
gcc为函数提供了几种类型的属性,其中包含:构造函数(constructors)和析构函数(destructors)。程序员应当使用类似下面的方式来指定这些属性: static void start(void) __attribute__ ((constructor)); static void stop(void) __attribute__ ((destru
转载
2013-04-02 10:57:10 ·
836 阅读 ·
0 评论