diff options
author | Benoit Germain <bnt.germain@gmail.com> | 2012-06-27 14:07:55 +0200 |
---|---|---|
committer | Benoit Germain <bnt.germain@gmail.com> | 2012-06-27 14:07:55 +0200 |
commit | 6234c2113a2b52ddc9fa900e7848f2cd19bd9394 (patch) | |
tree | deb14fd69b53b863b825c954b50a58667e1bc19c /src/lanes.c | |
parent | ccd465a1c7c7257e85eb04fcc6767b38e794dbbe (diff) | |
download | lanes-6234c2113a2b52ddc9fa900e7848f2cd19bd9394.tar.gz lanes-6234c2113a2b52ddc9fa900e7848f2cd19bd9394.tar.bz2 lanes-6234c2113a2b52ddc9fa900e7848f2cd19bd9394.zip |
* when a transfered function is not found in source, guess its name to help the user find out what's wrongv3.1.4
* new function lanes.nameof()
Diffstat (limited to 'src/lanes.c')
-rw-r--r-- | src/lanes.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lanes.c b/src/lanes.c index eebe06a..3e906c0 100644 --- a/src/lanes.c +++ b/src/lanes.c | |||
@@ -2303,6 +2303,7 @@ static const struct luaL_reg lanes_functions [] = { | |||
2303 | {"linda", LG_linda}, | 2303 | {"linda", LG_linda}, |
2304 | {"now_secs", LG_now_secs}, | 2304 | {"now_secs", LG_now_secs}, |
2305 | {"wakeup_conv", LG_wakeup_conv}, | 2305 | {"wakeup_conv", LG_wakeup_conv}, |
2306 | {"nameof", luaG_nameof}, | ||
2306 | {"_single", LG__single}, | 2307 | {"_single", LG__single}, |
2307 | {NULL, NULL} | 2308 | {NULL, NULL} |
2308 | }; | 2309 | }; |