diff --git a/include/xo/object2/DInteger.hpp b/include/xo/object2/DInteger.hpp index c56a4be..b03693b 100644 --- a/include/xo/object2/DInteger.hpp +++ b/include/xo/object2/DInteger.hpp @@ -28,7 +28,7 @@ namespace xo { /** allocate boxed value @p x using memory from @p mm **/ static DInteger * _box(obj mm, long x); - double value() const noexcept { return value_; } + long value() const noexcept { return value_; } bool pretty(const ppindentinfo & ppii) const; diff --git a/include/xo/object2/Integer.hpp b/include/xo/object2/Integer.hpp new file mode 100644 index 0000000..7279f97 --- /dev/null +++ b/include/xo/object2/Integer.hpp @@ -0,0 +1,12 @@ +/** @file Integer.hpp + * + * @author Roland Conybeare, Feb 2026 + **/ + +#pragma once + +#include "DInteger.hpp" +#include "number/IGCObject_DInteger.hpp" +#include "number/IPrintable_DInteger.hpp" + +/* end Integer.hpp */