Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Main Page
Related Pages
Topics
Namespaces
Data Structures
Files
File List
Globals
EXTERNAL_HEADERS
RSL
etc
config
src
collapse_static_locals.lib.cpp
Go to the documentation of this file.
1
2
24
// also defined in COLLAPSE_STATIC_LOCALS.cpp
25
inline
int
foo
()
26
{
27
// multiple instances of `i' must be collapsed
28
static
int
i
= 0;
29
return
i
++;
30
}
31
32
// bar() returns foo()
33
#if defined (_WIN32) && defined (_DLL)
34
__declspec
(dllexport)
35
#endif
// _WIN32 && _DLL
36
int
bar
()
37
{
38
return
foo
();
39
}
i
#define i
Definition
17.names.cpp:126
__declspec
__declspec(dllimport) void __stdcall InitializeCriticalSection(_RWSTD_CRITICAL_SECTION *)
foo
int foo()
Definition
collapse_static_locals.lib.cpp:25
bar
int bar()
Definition
collapse_static_locals.lib.cpp:36
Generated by
1.9.8