ReactOS 0.4.15-dev-8219-ge8b88cf
init_static Struct Reference
Collaboration diagram for init_static:

Public Member Functions

 init_static ()
 
 ~init_static ()
 
 init_static ()
 

Public Attributes

int m_uninit
 
int m_counter
 

Detailed Description

Definition at line 22 of file dll_startup.cpp.

Constructor & Destructor Documentation

◆ init_static() [1/2]

◆ ~init_static()

init_static::~init_static ( )
inline

Definition at line 36 of file dll_startup.cpp.

37 {
38 p_counter_values->dtor_counter++;
39 }
static struct counter_values * p_counter_values
Definition: dll_startup.cpp:20

◆ init_static() [2/2]

init_static::init_static ( )
inline

Definition at line 33 of file static_construct.cpp.

33 :
34 m_counter(2)
35 {
40 m_uninit++;
41 }
int static_init_counter
Definition: static_init.c:12
int static_construct_counter
static int m_uninit_at_startup
static int static_init_counter_at_startup
static int static_construct_counter_at_startup

Member Data Documentation

◆ m_counter

int init_static::m_counter

Definition at line 25 of file dll_startup.cpp.

Referenced by DllMain(), and TestInitStatic().

◆ m_uninit

int init_static::m_uninit

Definition at line 24 of file dll_startup.cpp.

Referenced by DllMain(), init_static(), and TestInitStatic().


The documentation for this struct was generated from the following files: