Handout
This commit is contained in:
23
compiler/libc.h
Normal file
23
compiler/libc.h
Normal file
@@ -0,0 +1,23 @@
|
||||
/*! \file
|
||||
* \brief Initialization functions for global objects required by the compiler
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#include "../types.h"
|
||||
|
||||
/*! \brief C StartUp (CSU)
|
||||
* required by the compiler and provided by the c standard library
|
||||
*/
|
||||
namespace CSU {
|
||||
|
||||
/*! \brief Call global constructors and initialization functions
|
||||
* (this is usually done by __libc_csu_init)
|
||||
*/
|
||||
void initializer();
|
||||
|
||||
/*! \brief Call global destructors and finalizer functions
|
||||
* (this is usually done by __libc_csu_fini)
|
||||
*/
|
||||
void finalizer();
|
||||
|
||||
} // namespace CSU
|
||||
Reference in New Issue
Block a user