pangweiwei / slua

Fastest lua binding via static code generating for Unity3D and mono.
MIT License
1.4k stars 436 forks source link

LuaTable sorted #157

Closed ratkingsminion closed 8 years ago

ratkingsminion commented 8 years ago

Hallo, I'm currently trying some basic functionality of SLua (great work!) and I wondered if it's possible to get the hashed values of a LuaTable sorted in the original way it was written? Iterating over the pairs in C# gets them in a random order, which is understandable. (I used MoonSharp before, and there the values were in the original order.)

pangweiwei commented 8 years ago

No, you can't.