> Hi Nicolas
> 
> Is the way to deal with longs simply to wrap them with alloc_abstract?

What do you mean by "long" ? On most platforms, this is represented as a
32-bit integer, and there's already a 32-bit api in Neko. If you want to
store a 64-bit integer on a 32-bit platform, you have to allocate first
a memory, then use it with alloc_abstract, with an additional
indirection. Watch neko/libs/std/int32.c for an example.

Nicolas

-- 
Neko : One VM to run them all
(http://nekovm.org)

Reply via email to