WvStreams
|
00001 #ifndef __WVLINKERHACK_H 00002 #define __WVLINKERHACK_H 00003 00004 /* 00005 * Don't call this directly. It's used by WV_LINK_TO(). 00006 */ 00007 extern int **__wv_link_func(int **to); 00008 00017 #define WV_LINK(name) volatile int __wv_link_##name 00018 00030 #define WV_LINK_TO(name) \ 00031 extern volatile int __wv_link_##name; \ 00032 namespace { volatile int __wv_local_a_##name = __wv_link_##name; } 00033 00034 #endif // __WVLINKERHACK_H