1 // cl_C debugging support.
11 #include "cl_complex.h"
13 #include "cl_complex_io.h"
15 static void dprint (cl_heap* pointer)
17 var const cl_N& obj = *(const cl_N*)&pointer;
18 fprint(cl_debugout, "(cl_N) ");
19 fprint(cl_debugout, obj);
21 AT_INITIALIZATION(dprint_N)
22 { cl_register_type_printer(cl_class_complex,dprint); }
24 // This dummy links in this module when <cl_complex.h> requires it.
25 int cl_C_debug_module;
27 extern int cl_R_debug_module;
28 static void* dummy[] = { &dummy,