lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> > [...] I suspect you want dumpSize to
> > call dumpBlock, not dumpVector. Sorry if I'm late for reporting this.
> 
> Relatedly, in lundump.c's checkliteral: s/loadVector/loadBlock.

Maybe I am missing something, but I think both can (and should) use the
standard Vector. The idea of this concept is to allow one to change the
endianess of the array elements, not the order of the elements in the
array. Both checkliteral and dumpSize use arrays of chars, so endianess
is not an issue.

Because endianess is not an issue, they could use blocks instead
of vectors, but it is seems simpler to keep the rules.

-- Roberto
_______________________________________________
lua-l mailing list -- lua-l@lists.lua.org
To unsubscribe send an email to lua-l-leave@lists.lua.org