Initial revision of lua 'doc' function

This commit is contained in:
2021-12-15 23:03:43 -05:00
parent e0001127c7
commit 1cfdb4fa09
22 changed files with 301 additions and 199 deletions

View File

@@ -173,6 +173,9 @@ public:
void set(const std::string &fn, const std::string &code, int sequence);
std::string get(const std::string &fn);
// Get function documentation.
static std::string function_docs(const LuaStack &LS, LuaSlot slot);
// Serialize and unserialize a source vector.
//
static void serialize_source(const util::LuaSourceVec &sv, StreamBuffer *sb);