]> www.ginac.de Git - cln.git/blob - src/float/ffloat/misc/cl_FF_debug.cc
* All Files have been modified for inclusion of namespace cln;
[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 "cln/ffloat.h"
12 #include "cln/io.h"
13 #include "cln/float_io.h"
14
15 namespace cln {
16
17 static void dprint (cl_heap* pointer)
18 {
19         var const cl_FF& obj = *(const cl_FF*)&pointer;
20         fprint(cl_debugout, "(cl_FF) ");
21         fprint(cl_debugout, obj);
22 }
23 AT_INITIALIZATION(dprint_FF)
24 { cl_register_type_printer(cl_class_ffloat,dprint); }
25
26 // This dummy links in this module when <cln/ffloat.h> requires it.
27 int cl_FF_debug_module;
28
29 }  // namespace cln