WvStreams
wvlinkerhack.h
1 #ifndef __WVLINKERHACK_H
2 #define __WVLINKERHACK_H
3 
4 /*
5  * Don't call this directly. It's used by WV_LINK_TO().
6  */
7 extern int **__wv_link_func(int **to);
8 
17 #define WV_LINK(name) volatile int __wv_link_##name
18 
30 #define WV_LINK_TO(name) \
31  extern volatile int __wv_link_##name; \
32  namespace { volatile int __wv_local_a_##name = __wv_link_##name; }
33 
34 #endif // __WVLINKERHACK_H