OOStuBS - Technische Informatik II (TI-II)  2.4
cppInit.cc
gehe zur Dokumentation dieser Datei
1 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\
2  * Technische Informatik II *
3  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
4  * *
5  * C P P I N I T *
6  * *
7 \* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
8 
9 typedef void(*ConstructorPointer)() ;
10 typedef void(*DestructorPointer)() ;
11 
16 
17 extern "C" void constructObjects();
18 extern "C" void destructObjects();
19 
26 
27  while(start<end)
28  (*start++)();
29 }
30 
34 void destructObjects () {
37 
38  while(start<end)
39  (*start++)();
40 }
41