Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/startup.cfa

    r116a2ea rb443db0  
    1010// Created On       : Tue Jul 24 16:21:57 2018
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Thu Oct  6 13:51:57 2022
    13 // Update Count     : 57
     12// Last Modified On : Mon Jan 17 16:41:54 2022
     13// Update Count     : 55
    1414//
    1515
     
    2424
    2525extern "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_startup
    31 
    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_shutdown
    37 
    3826        void __cfaabi_appready_startup( void ) __attribute__(( constructor( STARTUP_PRIORITY_APPREADY ) ));
    3927        void __cfaabi_appready_startup( void ) {
    4028                tzset();                                                                                // initialize time global variables
     29                #ifdef __CFA_DEBUG__
    4130                extern void heapAppStart();
    4231                heapAppStart();
     32                #endif // __CFA_DEBUG__
    4333        } // __cfaabi_appready_startup
    4434
    4535        void __cfaabi_appready_shutdown( void ) __attribute__(( destructor( STARTUP_PRIORITY_APPREADY ) ));
    4636        void __cfaabi_appready_shutdown( void ) {
     37                #ifdef __CFA_DEBUG__
    4738                extern void heapAppStop();
    4839                heapAppStop();
     40                #endif // __CFA_DEBUG__
    4941        } // __cfaabi_appready_shutdown
    5042
Note: See TracChangeset for help on using the changeset viewer.