File indexing completed on 2023-10-01 07:35:49
0001 /* 0002 SPDX-License-Identifier: GPL-2.0-or-later 0003 SPDX-FileCopyrightText: 2014 Lucas Hermann Negri <lucashnegri@gmail.com> 0004 */ 0005 0006 #ifndef _LUAHELPER_H 0007 #define _LUAHELPER_H 0008 0009 #include <QStringList> 0010 0011 struct lua_State; 0012 class QString; 0013 0014 /* follows lua_funcname convention */ 0015 QString luahelper_tostring (lua_State* L, int idx); 0016 QString luahelper_dostring (lua_State* L, const QString& str); 0017 QString luahelper_getprinted (lua_State* L); 0018 QStringList luahelper_completion (lua_State* L, const QString& name); 0019 0020 #endif /* _LUAHELPER_H */