diff options
author | wm4 <wm4@nowhere> | 2014-05-26 21:46:01 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-05-26 21:59:29 +0200 |
commit | 6f20d6b74e247847dcfa36fdab0498f7280ab270 (patch) | |
tree | b72568437e86d8fae94ff16326b31a4551db3131 /video | |
parent | 9c18a920ff0c5af3ed8868d38081e5ccb4d9ddc1 (diff) | |
download | mpv-6f20d6b74e247847dcfa36fdab0498f7280ab270.tar.bz2 mpv-6f20d6b74e247847dcfa36fdab0498f7280ab270.tar.xz |
lua: fix compilation with lua 5.2
Commit e2e450f9 started making use of luaL_register(), but OF COURSE
this function disappeared in Lua 5.2, and was replaced with a 5.2-only
alternative, slightly different mechanism.
So just NIH our own function. This is actually slightly more correct,
since it forces the user to call "require" to actually make the module
visible for builtin C-only modules other than "mp". Fix autoload.lua
accordingly.
Diffstat (limited to 'video')
0 files changed, 0 insertions, 0 deletions