CLuaInstance: Add strFind() and strSub() functions

- These functions are possible substitutes for the
  Lua functions string.find() and string.sub()

- This Lua functions have problems e.g. with the contents
  of some websites.
This commit is contained in:
M. Liebmann
2014-09-10 21:13:38 +02:00
parent b6f1963f2c
commit 51fb2fb9e7
2 changed files with 61 additions and 0 deletions

View File

@@ -195,6 +195,9 @@ private:
static int DisplayImage(lua_State *L);
static int PlayFile(lua_State *L);
static int strFind(lua_State *L);
static int strSub(lua_State *L);
void MenuRegister(lua_State *L);
static int MenuNew(lua_State *L);
static int MenuDelete(lua_State *L);