GCC Middle and Back End API Reference
finalizer Class Reference

Public Member Functions

 finalizer (void *addr, void(*f)(void *))
 
void * addr () const
 
void call () const
 

Private Attributes

void * m_addr
 
void(* m_function )(void *)
 

Constructor & Destructor Documentation

◆ finalizer()

finalizer::finalizer ( void * addr,
void(* )(void *) )
inline

Member Function Documentation

◆ addr()

void * finalizer::addr ( ) const
inline

References m_addr.

Referenced by ggc_handle_finalizers().

◆ call()

void finalizer::call ( ) const
inline

References m_addr, and m_function.

Referenced by ggc_handle_finalizers().

Field Documentation

◆ m_addr

void* finalizer::m_addr
private

Referenced by addr(), and call().

◆ m_function

void(* finalizer::m_function) (void *)
private

Referenced by call().


The documentation for this class was generated from the following file: