lua-users home
lua-l archive

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

Coda Highland <> 于2020年3月12日周四 下午11:58写道:
> If you're already patching the VM, it shouldn't be hard to just patch the seed assignment yourself.

I found that we don't even have to patch the VM  :)

I wrote a small function `lua_changeseed(lua_State *L, unsigned int
seed);`  to change the seed.