49 : handler(handler), data(0)
59 static std::stack<cleanup *>
c;
65 pedantic_cout(
"mbdyn_cleanup_register: " << (
void *)handler <<
":" << (
void *)datapp << std::endl);
82 pedantic_cout(
"mbdyn_cleanup: " << (
void *)p->
handler <<
":" << (
void *)p->
data << std::endl);
int mbdyn_cleanup_register(mbdyn_cleanup_f handler, void ***datapp)
cleanup(mbdyn_cleanup_f handler)
static std::stack< cleanup * > c
int(* mbdyn_cleanup_f)(void *)
void mbdyn_cleanup_destroy(void)