Initial revision of lua 'doc' function
This commit is contained in:
@@ -2,14 +2,7 @@
|
||||
#include "globaldb.hpp"
|
||||
|
||||
|
||||
// Get a table from the global database.
|
||||
//
|
||||
// GLOBALNAME
|
||||
// if globalname is already present, and is a table, return it.
|
||||
// if globalname is already present, and not a table, error.
|
||||
// if globalname is not present, create and initialize it.
|
||||
//
|
||||
LuaDefine(globaldb_global, "f") {
|
||||
LuaDefine(global, "globalname", "get a table where global data can be stored") {
|
||||
LuaArg globalname;
|
||||
LuaRet globaltab;
|
||||
LuaVar globaldb;
|
||||
|
||||
Reference in New Issue
Block a user