Beispiel #1
0
struct base* base_new (void)
{
	struct base *obj = malloc (sizeof(struct base));
	base_base_v_table (obj);
#ifdef BASE_USE_V_TABLE
	if (base_v_table_inited)
		base_init_v_table ();
	base_register_v_table (obj, base_v_table);
#endif
	base_constructor (obj);
	return obj;
}
Beispiel #2
0
router::router(const size_t num_threads, int argc, char **argv, const bool use_mpi)
{
   base_constructor(num_threads, argc, argv, use_mpi);
}
Beispiel #3
0
router::router(void)
{
   base_constructor(1, 0, NULL, false);
}