static int StartSpeech(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); NativeManager obj = (NativeManager)ToLua.CheckObject(L, 1, typeof(NativeManager)); obj.StartSpeech(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }