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 -- ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-- OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -- OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
error = error
next = next
select = select
type = type
-- Get the boost::regex binding -- Get the boost::regex binding
regex = aegisub.__init_regex() regex = aegisub.__init_regex()

View File

@ -13,7 +13,13 @@
-- ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -- ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-- OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -- 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 * local *
-- Make a shallow copy of a table -- Make a shallow copy of a table