static void svc_rdma_destroy(SVCXPRT *xprt, u_int flags, const char *tag, const int line) { struct svc_rdma_xdr *sm = sm_data(xprt); __warnx(TIRPC_DEBUG_FLAG_REFCNT, "%s() %p xp_refs %" PRId32 " should actually destroy things @ %s:%d", __func__, xprt, xprt->xp_refs, tag, line); xdr_rdma_destroy(&(sm->sm_xdrs)); mem_free(sm, sizeof (*sm)); if (xprt->xp_ops->xp_free_user_data) { /* call free hook */ xprt->xp_ops->xp_free_user_data(xprt); } rpc_rdma_destroy(xprt); }
#endif int main() { std::vector<Polyhedron> polys = poly_data(); BOOST_FOREACH(Polyhedron p, polys){ index_uniqueness_poly(p); } #if defined(CGAL_USE_SURFACE_MESH) std::vector<SM> sms = sm_data(); BOOST_FOREACH(SM p, sms){ index_uniqueness_sm(p); } #endif #if defined(CGAL_USE_OPENMESH) std::vector<OMesh> omeshs = omesh_data(); BOOST_FOREACH(OMesh p, omeshs){ index_uniqueness_omesh(p); } #endif std::cerr << "done\n"; return 0;