PageRenderTime 45ms CodeModel.GetById 16ms RepoModel.GetById 0ms app.codeStats 0ms

/cln-1.3.2/src/integer/misc/cl_FN_class.cc

#
C++ | 24 lines | 12 code | 8 blank | 4 comment | 0 complexity | 9f019cd3d7ce74b1eda33c92d8d00e60 MD5 | raw file
Possible License(s): GPL-2.0
  1. // cl_class_fixnum.
  2. // General includes.
  3. #include "base/cl_sysdep.h"
  4. // Specification.
  5. #include "cln/integer.h"
  6. // Implementation.
  7. namespace cln {
  8. cl_class cl_class_fixnum = {
  9. NULL, // destructor not used, since not heap objects
  10. cl_class_flags_subclass_complex | cl_class_flags_subclass_real | cl_class_flags_subclass_rational
  11. };
  12. AT_INITIALIZATION(ini_class_fixnum)
  13. {
  14. cl_immediate_classes[cl_FN_tag] = &cl_class_fixnum;
  15. }
  16. } // namespace cln