Strongly bind global lua functions used in the standard modules

This commit is contained in:
Thomas Goyne 2013-10-22 08:34:10 -07:00
parent 8367f9960c
commit 0e2cc0938f
2 changed files with 12 additions and 1 deletions

View file

@ -12,6 +12,11 @@
-- ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-- OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
error = error
next = next
select = select
type = type
-- Get the boost::regex binding
regex = aegisub.__init_regex()

View file

@ -13,7 +13,13 @@
-- ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-- OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
sformat = string.format
error = error
pairs = pairs
select = select
sformat = string.format
tonumber = tonumber
type = type
local *
-- Make a shallow copy of a table