antirez / load81

SDL based Lua programming environment for kids similar to Codea
BSD 2-Clause "Simplified" License
647 stars 64 forks source link

seed the Lua random number generator #35

Closed rlane closed 12 years ago

antirez commented 12 years ago

Hello @rlane, since Lua uses rand() and srand() I simply implemented this seeding directly at C level. Thanks!