xo-object2: streamline DInteger alloc. make() -> box()
This commit is contained in:
parent
09ee3a20ac
commit
fc1108a9b1
3 changed files with 15 additions and 7 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue