aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPhilipp Janda <siffiejoe@gmx.net>2015-04-25 21:07:05 +0200
committerPhilipp Janda <siffiejoe@gmx.net>2015-04-25 21:07:05 +0200
commit67dd52ab4ee97cf644ed4540df14c9619b50d0af (patch)
tree4e0ccbdb8054f8eff9213aedf397d7831148b6d5 /tests
parentaef3f24e32f6c50473b957c7fdd5ad707b543995 (diff)
downloadlua-compat-5.3-67dd52ab4ee97cf644ed4540df14c9619b50d0af.tar.gz
lua-compat-5.3-67dd52ab4ee97cf644ed4540df14c9619b50d0af.tar.bz2
lua-compat-5.3-67dd52ab4ee97cf644ed4540df14c9619b50d0af.zip
Refactor compat53 and compat53.module Lua modules.
The new compat53.module module contains only changes that don't affect other files, and it is supposed to be used in modules like this: local _ENV = require( "compat53.module" ) if setfenv then setfenv( 1, _ENV ) end compat53.module does not change string/file metatables, and it also doesn't support yielding from (x)pcall. The compat53 module copies all functions from compat53.module to the global environment, and additionally sets string/file metatables and implements yieldable (x)pcall.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions