]> www.ginac.de Git - cln.git/blob - src/complex/misc/cl_C_class.cc
ef5dfb6ed460fe3d25bfd5dcd1781f40dc08a02b
[cln.git] / src / complex / misc / cl_C_class.cc
1 // cl_class_complex.
2
3 // General includes.
4 #include "cl_sysdep.h"
5
6 // Specification.
7 #include "cln/complex.h"
8
9
10 // Implementation.
11
12 #include "cl_C.h"
13
14 namespace cln {
15
16 static void complex_destructor (cl_heap* pointer)
17 {
18         (*(cl_heap_complex*)pointer).~cl_heap_complex();
19 }
20
21 cl_class cl_class_complex = {
22         complex_destructor,
23         cl_class_flags_subclass_complex
24 };
25
26 }  // namespace cln