Exemplo n.º 1
0
/*
 * Create an SSF intermediate node.
 */
oskit_error_t
pfq_ssf_create(pfq_sched_t **out_sched)
{
	struct pfq_impl *p;
	oskit_error_t err;

	err = create_default(&p);
	if (err)
		return err;

	p->p_update_queue = ssf_update_queue;

	*out_sched = &p->p_ioi;
	return 0;
}
Exemplo n.º 2
0
 keyed_collision_cache(box2d<double> const & extent)
     : cache_(), default_(create_default(extent))
 {
 }