Changes in libcfa/src/startup.cfa [116a2ea:b443db0]
- File:
-
- 1 edited
-
libcfa/src/startup.cfa (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/startup.cfa
r116a2ea rb443db0 10 10 // Created On : Tue Jul 24 16:21:57 2018 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Thu Oct 6 13:51:57202213 // Update Count : 5 712 // Last Modified On : Mon Jan 17 16:41:54 2022 13 // Update Count : 55 14 14 // 15 15 … … 24 24 25 25 extern "C" { 26 void __cfaabi_memory_startup( void ) __attribute__(( constructor( STARTUP_PRIORITY_MEMORY ) ));27 void __cfaabi_memory_startup( void ) {28 extern void memory_startup();29 memory_startup();30 } // __cfaabi_memory_startup31 32 void __cfaabi_memory_shutdown( void ) __attribute__(( destructor( STARTUP_PRIORITY_MEMORY ) ));33 void __cfaabi_memory_shutdown( void ) {34 extern void memory_shutdown();35 memory_shutdown();36 } // __cfaabi_memory_shutdown37 38 26 void __cfaabi_appready_startup( void ) __attribute__(( constructor( STARTUP_PRIORITY_APPREADY ) )); 39 27 void __cfaabi_appready_startup( void ) { 40 28 tzset(); // initialize time global variables 29 #ifdef __CFA_DEBUG__ 41 30 extern void heapAppStart(); 42 31 heapAppStart(); 32 #endif // __CFA_DEBUG__ 43 33 } // __cfaabi_appready_startup 44 34 45 35 void __cfaabi_appready_shutdown( void ) __attribute__(( destructor( STARTUP_PRIORITY_APPREADY ) )); 46 36 void __cfaabi_appready_shutdown( void ) { 37 #ifdef __CFA_DEBUG__ 47 38 extern void heapAppStop(); 48 39 heapAppStop(); 40 #endif // __CFA_DEBUG__ 49 41 } // __cfaabi_appready_shutdown 50 42
Note:
See TracChangeset
for help on using the changeset viewer.