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
Go to the documentation of this file.
1
22
34
35#ifndef MUTT_LUA_LIB_H
36#define MUTT_LUA_LIB_H
37
38#include "config.h"
39
40#ifdef USE_LUA
41
42struct Buffer;
43struct Command;
44
45void lua_cleanup(void);
46
47enum CommandResult parse_lua (const struct Command *cmd, struct Buffer *line, struct Buffer *err);
48enum CommandResult parse_lua_source(const struct Command *cmd, struct Buffer *line, struct Buffer *err);
49
50#else
51
52static inline void lua_cleanup(void) {}
53
54#endif
55
56#endif /* MUTT_LUA_LIB_H */
CommandResult
Error codes for command_t parse functions.
Definition command.h:35
enum CommandResult parse_lua_source(const struct Command *cmd, struct Buffer *line, struct Buffer *err)
Parse the 'lua-source' command - Implements Command::parse() -.
Definition commands.c:97
enum CommandResult parse_lua(const struct Command *cmd, struct Buffer *line, struct Buffer *err)
Parse the 'lua' command - Implements Command::parse() -.
Definition commands.c:57
void lua_cleanup(void)
Clean up Lua.
Definition commands.c:162
String manipulation buffer.
Definition buffer.h:36