]> www.ginac.de Git - cln.git/blob - src/float/ffloat/misc/cl_FF_debug.cc
60998acf9a34dcb4f46444ad290c04ed72a7e667
[cln.git] / src / float / ffloat / misc / cl_FF_debug.cc
1 // cl_FF debugging support.
2
3 // General includes.
4 #include "cl_sysdep.h"
5
6 // Specification.
7
8
9 // Implementation.
10
11 #include "cl_ffloat.h"
12 #include "cl_io.h"
13 #include "cl_float_io.h"
14
15 static void dprint (cl_heap* pointer)
16 {
17         var const cl_FF& obj = *(const cl_FF*)&pointer;
18         fprint(cl_debugout, "(cl_FF) ");
19         fprint(cl_debugout, obj);
20 }
21 AT_INITIALIZATION(dprint_FF)
22 { cl_register_type_printer(cl_class_ffloat,dprint); }
23
24 // This dummy links in this module when <cl_ffloat.h> requires it.
25 int cl_FF_debug_module;