diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-01-19 01:54:07 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-01-19 01:54:07 +0800 |
commit | d4b51792897d7f5244eb10c2984003a72c89e195 (patch) | |
tree | 7c8a0b39fe6f61dd5e7e7aec4f29a66dd5376a51 /mbbsd/edit.c | |
parent | 01cb925740f158ccd6ce7f48302080867a09a0ac (diff) | |
download | pttbbs-d4b51792897d7f5244eb10c2984003a72c89e195.tar pttbbs-d4b51792897d7f5244eb10c2984003a72c89e195.tar.gz pttbbs-d4b51792897d7f5244eb10c2984003a72c89e195.tar.bz2 pttbbs-d4b51792897d7f5244eb10c2984003a72c89e195.tar.lz pttbbs-d4b51792897d7f5244eb10c2984003a72c89e195.tar.xz pttbbs-d4b51792897d7f5244eb10c2984003a72c89e195.tar.zst pttbbs-d4b51792897d7f5244eb10c2984003a72c89e195.zip |
- bbslua: require LatestRef/Title match for latest referring
- bbslua: add storage and hash system
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3843 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/edit.c')
-rw-r--r-- | mbbsd/edit.c | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/mbbsd/edit.c b/mbbsd/edit.c index 60c719fc..6614d67a 100644 --- a/mbbsd/edit.c +++ b/mbbsd/edit.c @@ -2084,23 +2084,27 @@ static const char *luaBbs[] = { }; static const char *luaToc[] = { - "interface", "title", "notes", "author", "version", - "date", "latestref", + "author", "date", "interface", "latestref", + "notes", "title", "version", NULL }; static const char *luaBit[] = { - "cast", "bnot", "band", "bor", "bxor", - "lshift", "rshift", "arshift", + "arshift", "band", "bnot", "bor", "bxor", "cast", "lshift", "rshift", + NULL +}; + +static const char *luaStore[] = { + "USER", "GLOBAL", "limit", "load", "save", NULL }; static const char *luaLibs[] = { - "math", "table", "string", "bbs", "toc", "bit", + "bbs", "bit", "math", "store", "string", "table", "toc", NULL }; static const char**luaLibAPI[] = { - luaMath, luaTable, luaString, luaBbs, luaToc, luaBit, + luaBbs, luaBit, luaMath, luaStore, luaString, luaTable, luaToc, NULL }; |