Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
extern_inline.lib.cpp
Go to the documentation of this file.
1
2
24#if defined (_WIN32) && defined (_DLL)
25__declspec (dllexport)
26#endif // _WIN32 && _DLL
27extern inline int foo (int i)
28{
29 return i + 1;
30}
31
32extern int bar (int i)
33{
34 return i + 1;
35}
36
37// take the address of the inline above to prevent
38// it from being optimized away
39extern int (*volatile pf)(int) = foo;
#define i
Definition 17.names.cpp:126
#define foo(buf, s,...)
__declspec(dllimport) void __stdcall InitializeCriticalSection(_RWSTD_CRITICAL_SECTION *)
int(*volatile pf)(int)