diff options
| author | Philipp Janda <siffiejoe@gmx.net> | 2015-04-25 21:07:05 +0200 |
|---|---|---|
| committer | Philipp Janda <siffiejoe@gmx.net> | 2015-04-25 21:07:05 +0200 |
| commit | 67dd52ab4ee97cf644ed4540df14c9619b50d0af (patch) | |
| tree | 4e0ccbdb8054f8eff9213aedf397d7831148b6d5 /tests/test.lua | |
| parent | aef3f24e32f6c50473b957c7fdd5ad707b543995 (diff) | |
| download | lua-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/test.lua')
0 files changed, 0 insertions, 0 deletions
