1 // cl_univpoly_ring debugging support.
11 #include "cln/univpoly.h"
17 static void dprint (cl_heap* pointer)
19 // var const cl_univpoly_ring& obj = *(const cl_univpoly_ring*)&pointer;
20 fprint(cl_debugout, "(cl_univpoly_ring) ring");
21 fprint(cl_debugout, get_varname((cl_heap_univpoly_ring*)pointer));
23 AT_INITIALIZATION(dprint_univpoly_ring)
24 { cl_register_type_printer(cl_class_univpoly_ring,dprint); }
26 void cl_UP::debug_print () const
28 fprint(cl_debugout, *this);
29 fprint(cl_debugout, "\n");
32 // This dummy links in this module when <cl_univpoly_ring.h> requires it.
33 int cl_UP_debug_module;