Strongly bind global lua functions used in the standard modules
This commit is contained in:
parent
8367f9960c
commit
0e2cc0938f
2 changed files with 12 additions and 1 deletions
|
@ -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()
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue