xo-object2: streamline DInteger alloc. make() -> box()

This commit is contained in:
Roland Conybeare 2026-01-09 17:54:42 -05:00
commit fc1108a9b1
3 changed files with 15 additions and 7 deletions

View file

@ -12,8 +12,7 @@ namespace xo {
namespace scm {
DInteger *
DInteger::make(obj<AAllocator> mm,
long x)
DInteger::_box(obj<AAllocator> mm, long x)
{
void * mem = mm.alloc(typeseq::id<DInteger>(),
sizeof(DInteger));