From: John L. <jla...@gm...> - 2014-04-02 04:01:34
|
On Sun, Mar 30, 2014 at 7:11 PM, klaas.holwerda <ng...@kl...>wrote: > Hi, > > Recursive calls to RunBuffer() is a problem, gives an assert. > > int wxLuaState::RunBuffer(const char buf[], size_t size, const wxString > &name, int nresults) > { > wxCHECK_MSG(Ok(), LUA_ERRRUN, wxT("Invalid wxLuaState")); > wxCHECK_MSG(!M_WXLSTATEDATA->m_wxlStateData->m_is_running, > LUA_ERRRUN, wxT("Lua interpreter is > already running")); > > If you rem these out does it work normally? I think I added the check so people wouldn't forget that it was running, but there probably is any reason why it wouldn't work. John |