commit | 3c0d3c6fbeea18f257102c62a01b036c7a5c5161 | [log] [tgz] |
---|---|---|
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | Fri Jul 19 13:14:06 2019 -0300 |
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | Fri Jul 19 13:14:06 2019 -0300 |
tree | 138a90dc27593aaf4e873ea8aca5b7d887084e1a | |
parent | 440a5ee78c8592230780310c9c8d8c2ba1700cb1 [diff] |
Avoid using addresses of static variables as unique keys The addresses of static variables may be different for different instances of Lua, making these instances incompatible if they use these addresses as unique keys in the registry (or other tables).