Thanks to visit codestin.com
Credit goes to code.neomutt.org

NeoMutt  2025-12-11-189-gceedb6
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
lib.h File Reference

Integrated Lua scripting. More...

#include "config.h"
+ Include dependency graph for lib.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void lua_cleanup (void)
 Clean up Lua.
 
enum CommandResult parse_lua (const struct Command *cmd, struct Buffer *line, struct Buffer *err)
 Parse the 'lua' command - Implements Command::parse() -.
 
enum CommandResult parse_lua_source (const struct Command *cmd, struct Buffer *line, struct Buffer *err)
 Parse the 'lua-source' command - Implements Command::parse() -.
 

Detailed Description

Integrated Lua scripting.

Authors
  • Richard Russon

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Definition in file lib.h.

Function Documentation

◆ lua_cleanup()

void lua_cleanup ( void )

Clean up Lua.

Definition at line 162 of file commands.c.

163{
164 if (LuaState)
165 {
166 lua_close(LuaState);
167 LuaState = NULL;
168 }
169}
lua_State * LuaState
Global Lua State.
Definition lua.c:56
+ Here is the caller graph for this function: