mirror of https://github.com/odrling/Aegisub
Delete aegisub.parse_tag_data and aegisub.unparse_tag_data
Originally committed to SVN as r6128.
This commit is contained in:
parent
29460b97b9
commit
f974fdb1b2
|
@ -626,20 +626,6 @@ namespace Automation4 {
|
||||||
LOG_D("automation/lua") << "Garbage collected LuaAssFile";
|
LOG_D("automation/lua") << "Garbage collected LuaAssFile";
|
||||||
}
|
}
|
||||||
|
|
||||||
int LuaAssFile::LuaParseTagData(lua_State *L)
|
|
||||||
{
|
|
||||||
lua_newtable(L);
|
|
||||||
// TODO
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
int LuaAssFile::LuaUnparseTagData(lua_State *L)
|
|
||||||
{
|
|
||||||
lua_pushstring(L, "");
|
|
||||||
// TODO
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
int LuaAssFile::LuaParseKaraokeData(lua_State *L)
|
int LuaAssFile::LuaParseKaraokeData(lua_State *L)
|
||||||
{
|
{
|
||||||
agi::scoped_ptr<AssEntry> e(LuaToAssEntry(L));
|
agi::scoped_ptr<AssEntry> e(LuaToAssEntry(L));
|
||||||
|
@ -737,8 +723,6 @@ namespace Automation4 {
|
||||||
// assume the "aegisub" global table exists
|
// assume the "aegisub" global table exists
|
||||||
lua_getglobal(L, "aegisub");
|
lua_getglobal(L, "aegisub");
|
||||||
|
|
||||||
set_field(L, "parse_tag_data", closure_wrapper<&LuaAssFile::LuaParseTagData>);
|
|
||||||
set_field(L, "unparse_tag_data", closure_wrapper<&LuaAssFile::LuaUnparseTagData>);
|
|
||||||
set_field(L, "parse_karaoke_data", closure_wrapper<&LuaAssFile::LuaParseKaraokeData>);
|
set_field(L, "parse_karaoke_data", closure_wrapper<&LuaAssFile::LuaParseKaraokeData>);
|
||||||
set_field(L, "set_undo_point", closure_wrapper_v<&LuaAssFile::LuaSetUndoPoint>);
|
set_field(L, "set_undo_point", closure_wrapper_v<&LuaAssFile::LuaSetUndoPoint>);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue