libcsdbg  1.28
C++ exception (and generic) stack trace debug library
csdbg::plugin::~plugin ( )

Object destructor.

Definition at line 127 of file plugin.cpp.

References csdbg::util::dbg_info(), destroy(), likely, m_handle, and m_path.

128 {
130  if ( likely(m_handle != NULL && m_path != NULL) )
131  util::dbg_info("plugin '%s' unlinked", m_path);
132 #endif
133  destroy();
134 }
#define likely(expr)
Offer a hint (positive) to the pipeline branch predictor.
Definition: config.hpp:344
virtual plugin & destroy()
Object deconstruction.
Definition: plugin.cpp:18
i8 * m_path
Module file path.
Definition: plugin.hpp:52
void * m_handle
DSO handle (as provided by dlopen)
Definition: plugin.hpp:54
static void dbg_info(const i8 *,...)
Print an informational debug message on the standard error stream.
Definition: util.cpp:680

+ Here is the call graph for this function: