]> www.ginac.de Git - cln.git/blob - src/float/lfloat/misc/cl_LF_debug.cc
* All Files have been modified for inclusion of namespace cln;
[cln.git] / src / float / lfloat / misc / cl_LF_debug.cc
1 // cl_LF debugging support.
2
3 // General includes.
4 #include "cl_sysdep.h"
5
6 // Specification.
7
8
9 // Implementation.
10
11 #include "cln/lfloat.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_LF& obj = *(const cl_LF*)&pointer;
20         fprint(cl_debugout, "(cl_LF) ");
21         fprint(cl_debugout, obj);
22 }
23 AT_INITIALIZATION(dprint_LF)
24 { cl_register_type_printer(cl_class_lfloat,dprint); }
25
26 // This dummy links in this module when <cln/lfloat.h> requires it.
27 int cl_LF_debug_module;
28
29 }  // namespace cln